We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e987d commit befe931Copy full SHA for befe931
examples/PortentaH7Logger/PortentaH7Logger.ino
@@ -81,7 +81,7 @@ void performUpdate() {
81
UFile lastUpdateFile = usbRoot.createFile("diff.txt", FileMode::READ); // Create or open the last update file
82
83
backingUP = true;
84
- int lastUpdateBytes = lastUpdateFile.readAsString().toInt(); // Read the last update size from the file
+ unsigned lastUpdateBytes = lastUpdateFile.readAsString().toInt(); // Read the last update size from the file
85
86
Serial.print("Last update bytes: "); Serial.println(lastUpdateBytes);
87
0 commit comments