1234567891011121314151617181920212223242526272829303132 |
- #include "stm32g4xx_hal.h"
- #include "menu_functions.h"
- #include "menu_items.h"
- #include "menu.h"
- #include "config.h"
- #include "FreeRTOS.h"
- #include "task.h"
- extern bool update_flag;
- //
- void button_left(void)
- {
- menuChange(PREVIOUS, false);
- }
- //
- void button_right(void)
- {
- menuChange(NEXT, true);
- }
- //
- void button_enter(void)
- {
- menuFocus();
- }
|