Add portability note.
This commit is contained in:
parent
bb5ac93921
commit
07d07831f1
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ extern int32_t lcd_encoder;
|
||||||
static menu_record_t menu_stack[MENU_DEPTH_MAX];
|
static menu_record_t menu_stack[MENU_DEPTH_MAX];
|
||||||
|
|
||||||
uint8_t menu_data[MENU_DATA_SIZE];
|
uint8_t menu_data[MENU_DATA_SIZE];
|
||||||
|
#ifndef __AVR__
|
||||||
|
#error "menu_data is non-portable to non 8bit processor"
|
||||||
|
#endif
|
||||||
|
|
||||||
uint8_t menu_depth = 0;
|
uint8_t menu_depth = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue