From 07d07831f1ba99a2ce07176dfd9c1f427136996d Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Wed, 22 Aug 2018 19:40:12 +0200 Subject: [PATCH] Add portability note. --- Firmware/menu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Firmware/menu.cpp b/Firmware/menu.cpp index 66e2e1c3..7fa17746 100644 --- a/Firmware/menu.cpp +++ b/Firmware/menu.cpp @@ -19,6 +19,9 @@ extern int32_t lcd_encoder; static menu_record_t menu_stack[MENU_DEPTH_MAX]; 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;