| | |
| | | content = ptr; |
| | | contentNum = num; |
| | | |
| | | currRtkTime = *rtkTime; |
| | | if (content != NULL && num > 0) { |
| | | currRtkTime = *rtkTime; |
| | | |
| | | for (int i = 0; i < contentNum; ++i) { |
| | | content[i].itemStatus = TTS_NOT_START; |
| | | for (int i = 0; i < contentNum; ++i) { |
| | | content[i].itemStatus = TTS_NOT_START; |
| | | } |
| | | testing = true; |
| | | |
| | | AppTimer_delete(DummyLightCheckActive); |
| | | AppTimer_delete(ExamDummyLight); |
| | | AppTimer_add(ExamDummyLight, D_SEC(2)); |
| | | } else { |
| | | testing = false; |
| | | } |
| | | testing = true; |
| | | |
| | | AppTimer_delete(DummyLightCheckActive); |
| | | AppTimer_delete(ExamDummyLight); |
| | | AppTimer_add(ExamDummyLight, D_SEC(2)); |
| | | } |
| | | |
| | | int ExecuteDummyLightExam(const struct RtkTime* rtkTime) |