reformat per coding conventions

This commit is contained in:
Kevin Hester 2021-03-29 20:33:06 +08:00
parent 2c75d0dee7
commit 5b653d29f8
29 changed files with 207 additions and 149 deletions

View file

@ -17,7 +17,7 @@ import java.util.zip.CRC32
/**
* Some misformatted ESP32s have problems
*/
class DeviceRejectedException() : BLEException("Device rejected filesize")
class DeviceRejectedException : BLEException("Device rejected filesize")
/**
* Move this somewhere as a generic network byte order function
@ -389,7 +389,7 @@ class SoftwareUpdateService : JobIntentService(), Logging {
)
if (progress != oldProgress) {
debug("sending block ${progress}%")
oldProgress = progress;
oldProgress = progress
}
var blockSize = 512 - 3 // Max size MTU excluding framing