why does it spinwait for subseconds?
This commit is contained in:
parent
1d292943f0
commit
5a0633f0d2
|
@ -28,6 +28,11 @@
|
||||||
|
|
||||||
#include "hal.h"
|
#include "hal.h"
|
||||||
|
|
||||||
|
// If you enable subseconds, there is a chance that this code will hang while locked (!)
|
||||||
|
// See https://github.com/rusefi/rusefi/issues/4557
|
||||||
|
#undef STM32_RTC_HAS_SUBSECONDS
|
||||||
|
#define STM32_RTC_HAS_SUBSECONDS FALSE
|
||||||
|
|
||||||
#if HAL_USE_RTC || defined(__DOXYGEN__)
|
#if HAL_USE_RTC || defined(__DOXYGEN__)
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue