Skip to content

Commit 83b37c9

Browse files
committed
Fixed Serial printf
1 parent 48103e7 commit 83b37c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValue/FlashKeyValue.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ void setup()
3535

3636
// Initialize the flash IAP block device and print the memory layout
3737
blockDevice.init();
38-
Serial.printf("FlashIAP block device size: %llu\r\n", blockDevice.size());
39-
Serial.printf("FlashIAP block device read size: %llu\r\n", blockDevice.get_read_size());
40-
Serial.printf("FlashIAP block device program size: %llu\r\n", blockDevice.get_program_size());
41-
Serial.printf("FlashIAP block device erase size: %llu\r\n", blockDevice.get_erase_size());
38+
Serial.println("FlashIAP block device size: " + blockDevice.size());
39+
Serial.println("FlashIAP block device read size: " + blockDevice.get_read_size());
40+
Serial.println("FlashIAP block device program size: " + blockDevice.get_program_size());
41+
Serial.println("FlashIAP block device erase size: " + blockDevice.get_erase_size());
4242
// Deinitialize the device
4343
blockDevice.deinit();
4444

0 commit comments

Comments
 (0)