File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,8 @@ static const uart_conf_t uart_config[] = {
159159#define RTT_IRQ RTC_IRQn
160160#define RTT_ISR isr_rtc
161161#define RTT_MAX_VALUE (0xffffffff)
162- #define RTT_FREQUENCY (1) /* in Hz */
163- #define RTT_PRESCALER (0x7fff ) /* run with 1 Hz */
162+ #define RTT_FREQUENCY (32768U) /* in Hz */
163+ #define RTT_PRESCALER (0x0 ) /* run with ~32 kHz */
164164/** @} */
165165
166166/**
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ static const uart_conf_t uart_config[] = {
129129#define RTT_IRQ RTC_IRQn
130130#define RTT_ISR isr_rtc
131131#define RTT_MAX_VALUE (0xffffffff)
132- #define RTT_FREQUENCY (16384) /* in Hz */
133- #define RTT_PRESCALER (0x1 ) /* run with ~16 kHz Hz */
132+ #define RTT_FREQUENCY (32768U) /* in Hz */
133+ #define RTT_PRESCALER (0x0 ) /* run with ~32 kHz */
134134/** @} */
135135
136136/**
You can’t perform that action at this time.
0 commit comments