return;
ao_mutex_get(&ao_config_mutex);
_ao_config_get();
+ while (c < AO_MAX_CALLSIGN + 1)
+ callsign[c++] = '\0';
memcpy(&ao_config.callsign, &callsign,
AO_MAX_CALLSIGN + 1);
ao_config_dirty = 1;
}
struct ao_config_var {
- uint8_t cmd;
+ char cmd;
void (*set)(void) __reentrant;
void (*show)(void) __reentrant;
const char *help;
void
ao_config_set(void)
{
- uint8_t c;
+ char c;
uint8_t cmd;
void (*__xdata func)(void) __reentrant;