Add portability note.

This commit is contained in:
Marek Bel 2018-08-22 19:40:12 +02:00
parent bb5ac93921
commit 07d07831f1

View file

@ -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;