Forked from Lonnie

Dependencies:   BLE_API mbed nRF51822 paw8001motion32_5_m0_keil_split

Fork of Pixart by Lonnie Zhang

Revision:
2:7dc466962683
Parent:
0:56543e77233d
--- a/main.cpp	Fri Dec 11 18:08:06 2015 +0000
+++ b/main.cpp	Fri Dec 11 18:28:02 2015 +0000
@@ -77,9 +77,9 @@
 {uint8_t tmp;
     if(triggerSensorPolling == true){
         HR_Cnt++;
-        CRITICAL_REGION_ENTER();
+        //CRITICAL_REGION_ENTER();
         Pixart_HRD();
-        CRITICAL_REGION_EXIT();
+        //CRITICAL_REGION_EXIT();
         
         led1 = 1;
         if(Pop(&ppg_mems_data)) //Get data from FIFO