Skip to content

Commit fc8ae6f

Browse files
committed
All timer will not correct with 40M Clock, set back to 160M
1 parent 18fa28d commit fc8ae6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_RDA/TARGET_UNO_91H/device/RDA5981_nvic_virtual.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ extern "C" {
3838
*/
3939
__NO_RETURN __STATIC_INLINE void __RDA5981_SystemReset(void)
4040
{
41-
//rda_ccfg_ckrst () ;
4241
rda_ccfg_perrst();
42+
rda_ccfg_ckrst () ;
4343
__DSB(); /* Ensure all outstanding memory accesses included
4444
buffered write are completed before reset */
4545
SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |

targets/TARGET_RDA/TARGET_UNO_91H/rda_ccfg_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ int rda_ccfg_boot(void)
211211
}
212212
/*close usb polling*/
213213
RDA_GPIO->CTRL &= ~(0x01UL << 12);
214-
//rda_ccfg_ck();
214+
rda_ccfg_ck();
215215
/* Set flash clock */
216216
rda_ccfg_spifck();
217217
/* Set aon timer clock source */

0 commit comments

Comments
 (0)