You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#defineHSE_STARTUP_TIMEOUT ((unsigned int)0x0500) /*!< Time out for HSE start up */
128
+
#defineHSE_STARTUP_TIMEOUT ((unsigned int)0x0500) /*!< Time out for HSE start up */
129
129
#endif/* HSE_STARTUP_TIMEOUT */
130
130
131
131
while ((GET_REG(RCC_CR) &0x03000000) ==0&&StartUpCounter<HSE_STARTUP_TIMEOUT)
@@ -149,14 +149,14 @@ void setupCLK(void) {
149
149
150
150
151
151
voidsetupLEDAndButton (void) {
152
-
// SET_REG(AFIO_MAPR,(GET_REG(AFIO_MAPR) & ~AFIO_MAPR_SWJ_CFG) | AFIO_MAPR_SWJ_CFG_NO_JTAG_NO_SW);// Try to disable SWD AND JTAG so we can use those pins (not sure if this works).
152
+
// SET_REG(AFIO_MAPR,(GET_REG(AFIO_MAPR) & ~AFIO_MAPR_SWJ_CFG) | AFIO_MAPR_SWJ_CFG_NO_JTAG_NO_SW);// Try to disable SWD AND JTAG so we can use those pins (not sure if this works).
153
153
154
-
#if defined(BUTTON_BANK) && defined (BUTTON_PIN) && defined (BUTTON_PRESSED_STATE)
0 commit comments