Refactoring and other updates

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_SimpleChat by Cristi Stoican

Files at this revision

API Documentation at this revision

Comitter:
carbune92
Date:
Wed May 10 07:15:19 2017 +0000
Parent:
6:832162614a19
Commit message:
fixed minor issues

Changed in this revision

BTDevice.cpp Show annotated file Show diff for this revision Revisions of this file
main_ble.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BTDevice.cpp	Tue May 09 06:13:54 2017 +0000
+++ b/BTDevice.cpp	Wed May 10 07:15:19 2017 +0000
@@ -44,7 +44,7 @@
 	
     if (error != BLE_ERROR_NONE) {
         /* In case of error, forward the error handling to onBleInitError */
-        //onBleInitError(this->ble, error);
+//        onBleInitError(this->ble, error);
         return;
     }
  
--- a/main_ble.cpp	Tue May 09 06:13:54 2017 +0000
+++ b/main_ble.cpp	Wed May 10 07:15:19 2017 +0000
@@ -2,6 +2,8 @@
 #include "ProcessInterface.hpp"
 
 //#define TE	0.1f //minim!!! - o cuanta!! - va fi multiplu al perioadei de esantionare configurabila
+//TODO - de folosi RTOS timer in loc de Ticker pentru a avita folosirea ISR pentru functii periodice
+
 
 static Ticker controlLoopTicker, cmdTicker;
 static ProcessInterface pInt;