Skip to content

Commit 5c0a57f

Browse files
per1234devyte
authored andcommitted
Specify units in CheckFlashConfig example sketch (#4490)
1 parent 4b9d3d9 commit 5c0a57f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/esp8266/examples/CheckFlashConfig/CheckFlashConfig.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ void loop() {
1616
FlashMode_t ideMode = ESP.getFlashChipMode();
1717

1818
Serial.printf("Flash real id: %08X\n", ESP.getFlashChipId());
19-
Serial.printf("Flash real size: %u\n\n", realSize);
19+
Serial.printf("Flash real size: %u bytes\n\n", realSize);
2020

21-
Serial.printf("Flash ide size: %u\n", ideSize);
22-
Serial.printf("Flash ide speed: %u\n", ESP.getFlashChipSpeed());
21+
Serial.printf("Flash ide size: %u bytes\n", ideSize);
22+
Serial.printf("Flash ide speed: %u Hz\n", ESP.getFlashChipSpeed());
2323
Serial.printf("Flash ide mode: %s\n", (ideMode == FM_QIO ? "QIO" : ideMode == FM_QOUT ? "QOUT" : ideMode == FM_DIO ? "DIO" : ideMode == FM_DOUT ? "DOUT" : "UNKNOWN"));
2424

2525
if (ideSize != realSize) {

0 commit comments

Comments
 (0)