[cart] removed done TODOs

This commit is contained in:
giomba 2019-05-25 11:27:33 +02:00
parent 5356a6ee4e
commit cb6595776b
3 changed files with 2 additions and 4 deletions

View File

@ -22,7 +22,7 @@ void batmon(void) {
} }
/* turn on red led if battery charge is low */ /* turn on red led if battery charge is low */
if (battery_charge < 48) { /* TODO */ if (battery_charge < 48) {
leds_on(LEDS_RED); leds_on(LEDS_RED);
} else { } else {
leds_off(LEDS_RED); leds_off(LEDS_RED);

View File

@ -15,8 +15,7 @@ PROCESS_THREAD(cart_main_process, ev, data) {
PROCESS_BEGIN(); PROCESS_BEGIN();
/*** Variables initialization ***/ /*** Variables initialization ***/
status = NOT_ASSOCIATED; // TODO DEBUG status = NOT_ASSOCIATED;
//status = SHOPPING;
/*** Timer initialization ***/ /*** Timer initialization ***/
etimer_set(&assigner_timer, 5 * CLOCK_SECOND); etimer_set(&assigner_timer, 5 * CLOCK_SECOND);

View File

@ -147,7 +147,6 @@ void s_cash_out_send_list(process_event_t ev, process_data_t data) {
etimer_restart(&assigner_timer); etimer_restart(&assigner_timer);
leds_off(LEDS_GREEN); leds_off(LEDS_GREEN);
status = ASSOCIATED; status = ASSOCIATED;
// status = SHOPPING; // TODO DEBUG
} }
} }