Skip to content

Commit

Permalink
Fix RTC 512Hz out
Browse files Browse the repository at this point in the history
  • Loading branch information
DiSlord committed Nov 4, 2024
1 parent 4e38aa6 commit 9ffed75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NANOVNA_STM32_F072/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#define RTC_PRER(a, s) ((((a) - 1) << 16) | ((s) - 1))

// LSE for 32768 quartz
#define STM32_RTC_LSE_PRER RTC_PRER( 32, 1024)
#define STM32_RTC_LSE_PRER RTC_PRER(128, 256)
// LSI 40k
#define STM32_RTC_LSI_PRER RTC_PRER( 40, 1000)

Expand Down
2 changes: 1 addition & 1 deletion NANOVNA_STM32_F303/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#define RTC_PRER(a, s) ((((a) - 1) << 16) | ((s) - 1))

// LSE for 32768 quartz
#define STM32_RTC_LSE_PRER RTC_PRER( 32, 1024)
#define STM32_RTC_LSE_PRER RTC_PRER(128, 256)
// LSI 40k
#define STM32_RTC_LSI_PRER RTC_PRER( 40, 1000)

Expand Down

0 comments on commit 9ffed75

Please sign in to comment.