Railway Challenge
/
challenge
Uncommenting of part that allow supercaps to charge up from the batteries
Diff: main.cpp
- Revision:
- 21:0cc8e3ee53f6
- Parent:
- 20:0add93a69df5
- Child:
- 24:15239fb901b0
--- a/main.cpp Tue May 17 10:43:19 2022 +0000 +++ b/main.cpp Tue May 17 10:49:37 2022 +0000 @@ -367,12 +367,7 @@ /////////////////////////Innovation braking end //normal throttle control else { - if (remote.throttle == 0 and dashboard.currentSpeed == 0){ - brakeControl(2); - } - else { speedControl(remote.throttle); - } pc.printf("Throttling: %d\r\n", remote.throttle); } } // remote.throttle