Marumbo Sichinga / Mbed 2 deprecated SmartWatchTopicDisplay

Dependencies:   mbed

Revision:
6:288c9d9d59e4
Parent:
5:235bf7c41262
Child:
7:ec8f01387c36
--- a/main.cpp	Sun Jul 11 18:17:00 2021 +0000
+++ b/main.cpp	Sun Jul 11 18:32:02 2021 +0000
@@ -214,7 +214,7 @@
         current_topic --;
     }
     
-    Mode2();
+  CheckDirection();
 }
  
 void DurationCheck(){
@@ -277,6 +277,7 @@
 void CheckDirection(){
     pushButton.rise(callback(&StartButtonTimer)); 
     pushButton.fall(callback(&StopButtonTimer));
+    
     loraTimerStart = time(NULL);
     
     while(1) {