Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: CAN/function_CAN.cpp
- Revision:
- 122:dcb3ce3056a0
- Parent:
- 121:89396c37b03e
- Child:
- 130:26b416050376
--- a/CAN/function_CAN.cpp Tue Sep 15 00:22:01 2020 +0000 +++ b/CAN/function_CAN.cpp Tue Sep 15 05:29:49 2020 +0000 @@ -752,10 +752,10 @@ } x_past[num_array_x_past-1] = pos.sen / ENC_PULSE_PER_POSITION; //mm - for(int i=0;i<num_array_x_future-1;i++){ - x_future[i] = x_future[i+1]; - } - x_future[num_array_x_future-1] = pos.sen / ENC_PULSE_PER_POSITION; //mm +// for(int i=0;i<num_array_x_future-1;i++){ +// x_future[i] = x_future[i+1]; +// } +// x_future[num_array_x_future-1] = pos.sen / ENC_PULSE_PER_POSITION; //mm for(int i=0; i<num_array_f_past-1;i++){ f_past[i] = f_past[i+1];