auto-sync

This commit is contained in:
rusEfi 2016-02-11 17:03:09 -05:00
parent aa3ed8a24e
commit 4e08ac5618
2 changed files with 11 additions and 0 deletions

View File

@ -55,6 +55,8 @@
}
*/
#if !EFI_UNIT_TEST
void chVTSetAny(virtual_timer_t *vtp, systime_t time, vtfunc_t vtfunc, void *par) {
bool wasLocked = lockAnyContext();
@ -71,3 +73,6 @@ void chVTSetAny(virtual_timer_t *vtp, systime_t time, vtfunc_t vtfunc, void *par
unlockAnyContext();
}
}
#endif

View File

@ -10,6 +10,9 @@
#define RFIUTIL_H_
#include "global.h"
#if !EFI_UNIT_TEST
#include "histogram.h"
#define isLocked() (dbg_lock_cnt > 0)
@ -34,4 +37,7 @@ void chVTSetAny(virtual_timer_t *vtp, systime_t time, vtfunc_t vtfunc, void *par
void printHistogram(Logging *logging, histogram_s *histogram);
#endif /* __cplusplus */
#endif /* EFI_UNIT_TEST */
#endif /* RFIUTIL_H_ */