commit_cell_locker
Dependencies: MPU6050_SIM5320_TEST
Fork of KOPIRANO_cell_locker by
Diff: main.cpp
- Revision:
- 2:aabc92901e25
- Parent:
- 1:75966605a6a3
--- a/main.cpp Fri Nov 10 15:35:26 2017 +0000 +++ b/main.cpp Mon Nov 13 15:48:57 2017 +0000 @@ -169,6 +169,10 @@ nomotion++; if(nomotion==3 && motionlogged==0) { printf("SAVE NO motion\n"); + uint16_t tempdate; + uint16_t temptime; + //time_t seconds = time(NULL); + mojlogger.get(tempdate,temptime); //motionFsm->handle(stop); mojlog.setLog(900,0,0,900); mojlogger.savelog(mojlog);