[cart] removed done TODOs
This commit is contained in:
parent
5356a6ee4e
commit
cb6595776b
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user