auto-sync
This commit is contained in:
parent
aa3ed8a24e
commit
4e08ac5618
|
@ -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
|
||||
|
||||
|
|
|
@ -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_ */
|
||||
|
||||
|
|
Loading…
Reference in New Issue