Hackathon Repo

Dependencies:   C12832

Files at this revision

API Documentation at this revision

Comitter:
sarahmarshy
Date:
Fri Oct 13 18:31:31 2017 +0000
Parent:
8:a33c688b7139
Commit message:
Added button macro

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a33c688b7139 -r 179e6db867bd main.cpp
--- a/main.cpp	Tue Oct 10 21:02:09 2017 +0000
+++ b/main.cpp	Fri Oct 13 18:31:31 2017 +0000
@@ -13,6 +13,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+ 
+#if defined(TARGET_K64F) 
+#define BUTTON SW2
+#else 
+#define BUTTON SW0
+#endif 
 
 #if APP_SHIELD_DEMO == 1
 #include "1_app_shield/main.h"