GCC can emit a warning when programs redefine 'main'.
Signed-off-by: Keith Packard <keithp@keithp.com>
int16_t apogee = ao_ignite_decivolt(AO_SENSE_DROGUE(&packet));
#endif
#ifdef AO_SENSE_MAIN
int16_t apogee = ao_ignite_decivolt(AO_SENSE_DROGUE(&packet));
#endif
#ifdef AO_SENSE_MAIN
- int16_t main = ao_ignite_decivolt(AO_SENSE_MAIN(&packet));
+ int16_t main_value = ao_ignite_decivolt(AO_SENSE_MAIN(&packet));
#endif
return sprintf((char *) buf,
#endif
return sprintf((char *) buf,
apogee%10
#endif
#ifdef AO_SENSE_MAIN
apogee%10
#endif
#ifdef AO_SENSE_MAIN
+ , main_value/10,
+ main_value%10
#endif
, ao_serial_number
);
#endif
, ao_serial_number
);