pelion-example-common-DISCO_F413ZH

Revision:
5:766c011942b4
Parent:
4:05845431da95
Child:
7:24d524c2bdcc
--- a/main.cpp	Mon Dec 10 22:06:21 2018 +0000
+++ b/main.cpp	Tue Dec 11 00:25:42 2018 +0000
@@ -123,7 +123,7 @@
 
     // If the User button is pressed ons start, then format storage.
     const int PRESSED = 1;
-    DigitalIn *user_button = new DigitalIn(USER_BUTTON);
+    DigitalIn *user_button = new DigitalIn(BUTTON1);
     if (user_button->read() == PRESSED) {
         printf("User button is pushed on start. Formatting the storage...\n");
         int storage_status = fs.reformat(&sd);