Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stable_21.11.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT #2

Open
wants to merge 1 commit into
base: stable_21.11.x.FOME
Choose a base branch
from

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