Skip to content

Conversation

@nmschulte
Copy link

also consider that the RTCSEL might have fallen back to the FOME_STM32_LSE_MAX_WAIT_RTCSEL when checking for backup domain reset

rusefi#52

also consider that the RTCSEL might have fallen back to the
FOME_STM32_LSE_MAX_WAIT_RTCSEL when checking for backup domain reset

rusefi@f3524fc
fomeLseCounter >= FOME_STM32_LSE_MAX_WAIT
&& (RCC->BDCR & STM32_RTCSEL_MASK) != FOME_STM32_LSE_WAIT_MAX_RTCSEL
) || fomeLseCounter < FOME_STM32_LSE_MAX_WAIT
&&
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to test building with these patches, but am concerned I might need parens around the sides of && here, which means reworking the macros/code as I can tell at the moment.

@nmschulte nmschulte force-pushed the nms/lse-max_wait-bkp-domain-reset branch from b4d702a to bbf0c3e Compare January 16, 2025 07:54
This was referenced Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant