Revision 337
Minor updates to recharging, but the charging board no longer appears to tell us when we're done.
smart_run_around_fsm.c | ||
---|---|---|
55 | 55 |
temp=range_read_distance(IR5); |
56 | 56 |
d5=(temp == -1) ? d5 : temp; |
57 | 57 |
|
58 |
usb_puti(d1); |
|
59 |
usb_putc(' '); |
|
60 |
usb_puti(d2); |
|
61 |
usb_putc(' '); |
|
62 |
usb_puti(d3); |
|
63 |
usb_putc('\n'); |
|
64 |
|
|
65 | 58 |
//If the crazy count is in it's >>3 range, it acts crazy. |
66 | 59 |
if(crazy_count<=(CRAZY_MAX>>3)) |
67 | 60 |
{ |
Also available in: Unified diff