Fix input (#166)
* fixed inline functions for modern C standart * Fix button-left and button-back setup code * *nix fix Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
@@ -60,6 +60,7 @@ void Error_Handler(void);
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define BUTTON_BACK_Pin GPIO_PIN_13
|
||||
#define BUTTON_BACK_GPIO_Port GPIOC
|
||||
#define BUTTON_BACK_EXTI_IRQn EXTI15_10_IRQn
|
||||
#define CHRG_Pin GPIO_PIN_2
|
||||
#define CHRG_GPIO_Port GPIOC
|
||||
#define CHRG_EXTI_IRQn EXTI2_IRQn
|
||||
|
Reference in New Issue
Block a user