why does it spinwait for subseconds?

This commit is contained in:
Matthew Kennedy 2022-09-14 01:04:36 -07:00 committed by Andrey
parent 1d292943f0
commit 5a0633f0d2
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@
#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__)
/*===========================================================================*/