Dependencies: BLE_API mbed nRF51822 paw8001motion32_5_m0_keil_split
Fork of Pixart by
Revision 2:7dc466962683, committed 2015-12-11
- Comitter:
- ryanpeng84
- Date:
- Fri Dec 11 18:28:02 2015 +0000
- Parent:
- 1:913976a5356d
- Commit message:
- trial commit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 913976a5356d -r 7dc466962683 main.cpp --- 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