auto-sync
This commit is contained in:
parent
7574c353da
commit
4931b4beae
|
@ -66,10 +66,13 @@ void scheduleTask(const bool monitorReuse, const char *prefix, scheduling_s *sch
|
|||
scheduling->callback = callback;
|
||||
scheduling->param = param;
|
||||
int isArmed = chVTIsArmedI(&scheduling->timer);
|
||||
if (isArmed && monitorReuse) {
|
||||
if (isArmed) {
|
||||
#if EFI_SIMULATOR || defined(__DOXYGEN__)
|
||||
printf("%s: isArmed? why? sch=%d cb=%d p=%d\r\n", prefix, (int) scheduling, (int)callback, (int)param);
|
||||
// firmwareError("armored");
|
||||
if (monitorReuse) {
|
||||
// for (int i = 0;i<100;i++)
|
||||
// printf("%s: isArmed? why? sch=%d cb=%d p=%d\r\n", prefix, (int) scheduling, (int)callback, (int)param);
|
||||
// firmwareError("armored\r\n");
|
||||
}
|
||||
#endif /* EFI_SIMULATOR */
|
||||
chVTResetI(&scheduling->timer);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by Version2Header
|
||||
// Sun Oct 02 06:24:52 EDT 2016
|
||||
// Sun Oct 02 11:43:29 EDT 2016
|
||||
#ifndef VCS_VERSION
|
||||
#define VCS_VERSION "10718"
|
||||
#define VCS_VERSION "10724"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue