summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorTheSpooler <thespooler@hotmail.com>2017-01-02 21:50:18 -0500
committerDamien George <damien.p.george@gmail.com>2017-01-03 17:10:13 +1100
commit3d962011653a349308369795c0b010ce67db8d0f (patch)
tree19e217b634df63bf55d2cc5c1f8ae8c24307e618 /esp8266
parent3f9c45efd126810cb30986cc4a4f49c2baa62caf (diff)
downloadmicropython-3d962011653a349308369795c0b010ce67db8d0f.tar.gz
micropython-3d962011653a349308369795c0b010ce67db8d0f.zip
esp8266/modesp: Fix a typo, print -> printf.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/modesp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modesp.c b/esp8266/modesp.c
index e162981ffb..b7ce122b17 100644
--- a/esp8266/modesp.c
+++ b/esp8266/modesp.c
@@ -652,7 +652,7 @@ STATIC mp_obj_t esp_check_fw(void) {
uint32_t size = *(uint32_t*)(fw_start + 0x8ffc);
printf("size: %d\n", size);
if (size > 1024 * 1024) {
- print("Invalid size\n");
+ printf("Invalid size\n");
return mp_const_false;
}
MD5Init(&ctx);