[an error occurred while processing this directive]
|
выдает "non -adress/ - constat initializer"
на строчку menu_t *menu = context->menu;
void menu_next_entry(menu_context_t *context)
{
menu_t *menu = context->menu;/// здесь ругается
uint8_t new_entry = menu->current_entry;
где
typedef struct menu_s {
uint8_t top_entry; // top displayed entry
uint8_t current_entry; // currently highlighted entry
uint8_t num_entries; // total # of entries in menu
struct menu_s *previous; // previous menu (for backtracking)
menu_entry_t entry[MENU_ENTRY];
} menu_t;
Можнт кто чего подскажет?
ЗЫ - это код tinimenu с сайта avrfreaks.net - менюшки на авре. Но там под GCC.
E-mail: info@telesys.ru