Procházet zdrojové kódy

fix build error with stm32

hathach před 7 roky
rodič
revize
2c1072c0ab

+ 6 - 0
hw/bsp/stm32f303disc/board_stm32f303disc.c

@@ -97,6 +97,12 @@ void board_led_control(bool state)
   HAL_GPIO_WritePin(GPIOE, GPIO_PIN_9, state);
 }
 
+uint32_t board_button_read(void)
+{
+  // TODO implement
+  return 0;
+}
+
 /*------------------------------------------------------------------*/
 /* TUSB HAL MILLISECOND
  *------------------------------------------------------------------*/

+ 6 - 0
hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c

@@ -91,6 +91,12 @@ void board_led_control(bool state)
   }
 }
 
+uint32_t board_button_read(void)
+{
+  // TODO implement
+  return 0;
+}
+
 
 /*------------------------------------------------------------------*/
 /* TUSB HAL MILLISECOND