Fix 98 compiler warnings of type: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
This commit is contained in:
parent
5ddf1fce62
commit
93d2b37b5c
|
|
@ -130,8 +130,7 @@ union MenuData
|
||||||
|
|
||||||
// State of the currently active menu.
|
// State of the currently active menu.
|
||||||
// C Union manages sharing of the static memory by all the menus.
|
// C Union manages sharing of the static memory by all the menus.
|
||||||
//union MenuData menuData = { 0 };
|
union MenuData menuData = { 0 };
|
||||||
#define menuData (*((MenuData*)menu_data))
|
|
||||||
|
|
||||||
|
|
||||||
int8_t ReInitLCD = 0;
|
int8_t ReInitLCD = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue