Add comments

This commit is contained in:
Alex Voinea 2020-07-29 17:36:03 +03:00
parent ec6a20971e
commit 773c6997ef
No known key found for this signature in database
GPG Key ID: F5034E7CFCF2F973
1 changed files with 5 additions and 2 deletions

View File

@ -2096,6 +2096,9 @@ static void lcd_preheat_menu()
//! @code{.unparsed}
//! | Voltages | MSG_MENU_VOLTAGES
//! @endcode
//!
//!
//! | Experimental | c=18 r=1
//!
//!
//! If DEBUG_BUILD is defined
@ -2108,12 +2111,12 @@ static void lcd_preheat_menu()
static void lcd_support_menu()
{
typedef struct
{ // 22bytes total
{ // 23bytes total
int8_t status; // 1byte
bool is_flash_air; // 1byte
uint8_t ip[4]; // 4bytes
char ip_str[3*4+3+1]; // 16bytes
uint8_t experimental_menu_visibility;
uint8_t experimental_menu_visibility; //1byte
} _menu_data_t;
static_assert(sizeof(menu_data)>= sizeof(_menu_data_t),"_menu_data_t doesn't fit into menu_data");
_menu_data_t* _md = (_menu_data_t*)&(menu_data[0]);