File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
libraries/Nano33_System/examples/Nano33_updateBootloader Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ void applyUpdate(uint32_t address) {
53
53
long len = 0 ;
54
54
55
55
const uint32_t page_size = flash.get_page_size ();
56
- Serial.print (" Page size: " );
57
- Serial.println (page_size);
56
+ // Serial.print("Page size: ");
57
+ // Serial.println(page_size);
58
58
char *page_buffer = new char [page_size];
59
59
uint32_t addr = address;
60
60
if (addr == MBR_ADDR) {
@@ -65,8 +65,8 @@ void applyUpdate(uint32_t address) {
65
65
len = nano33_bootloader_hex_len;
66
66
}
67
67
uint32_t sector_size = flash.get_sector_size (addr);
68
- Serial.print (" Sector size: " );
69
- Serial.println (sector_size);
68
+ // Serial.print("Sector size: ");
69
+ // Serial.println(sector_size);
70
70
uint32_t next_sector = addr + sector_size;
71
71
bool sector_erased = false ;
72
72
size_t pages_flashed = 0 ;
@@ -101,6 +101,7 @@ void applyUpdate(uint32_t address) {
101
101
Serial.println (" Flashed " + String (percent_done) + " %" );
102
102
103
103
}
104
+ Serial.println ();
104
105
105
106
delete[] page_buffer;
106
107
}
You can’t perform that action at this time.
0 commit comments