Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mesh_led_control_example.cpp
- Revision:
- 90:0d8804fe2ce2
- Parent:
- 66:30f2c1317e6d
- Child:
- 116:b2f0131722a0
--- a/mesh_led_control_example.cpp	Tue Jun 19 13:15:21 2018 +0100
+++ b/mesh_led_control_example.cpp	Thu Jun 21 10:45:08 2018 +0100
@@ -198,7 +198,7 @@
 
     if (MBED_CONF_APP_BUTTON != NC) {
         my_button.fall(&my_button_isr);
-        my_button.mode(PullUp);
+        my_button.mode(MBED_CONF_APP_BUTTON_MODE);
     }
     //let's register the call-back function.
     //If something happens in socket (packets in or out), the call-back is called.