Compare commits
No commits in common. "fc2372f75414911325716f3c70b33524b9e4a999" and "25bb341fa464bd084cd8555fc121e3f82adbe04d" have entirely different histories.
fc2372f754
...
25bb341fa4
@ -24,6 +24,7 @@
|
||||
#include <stdint.h>
|
||||
#include <reflow-controller/button.h>
|
||||
#include <stdbool.h>
|
||||
#include <reflow-controller/ui/lcd.h>
|
||||
|
||||
struct lcd_menu;
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
extern struct stm_uart shell_uart;
|
||||
static shellmatta_instance_t shell;
|
||||
static char shell_buffer[512];
|
||||
static char history_buffer[600];
|
||||
static char history_buffer[1024];
|
||||
|
||||
static shellmatta_retCode_t shell_cmd_ver(const shellmatta_handle_t handle,
|
||||
const char *arguments,
|
||||
|
@ -31,15 +31,13 @@ void menu_handle(struct lcd_menu *menu, uint16_t rotary_encoder_delta, enum butt
|
||||
menu->inputs.push_button = push_button;
|
||||
menu->inputs.rotary_encoder_delta = rotary_encoder_delta;
|
||||
|
||||
if (menu->active_entry == NULL)
|
||||
menu->active_entry = menu->root_entry;
|
||||
|
||||
tmp = menu->active_entry;
|
||||
|
||||
|
||||
if (menu->active_entry_type == MENU_ENTRY_FIRST_ENTER) {
|
||||
if (menu->active_entry)
|
||||
menu->active_entry(menu, menu->active_entry_type, menu->init_parent);
|
||||
} else {
|
||||
if (menu->active_entry)
|
||||
menu->active_entry(menu, menu->active_entry_type, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user