File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1038,11 +1038,11 @@ void terminal_process_string(char *str) {
1038
1038
} else if (strcmp (argv [0 ], "crc" ) == 0 ) {
1039
1039
unsigned mc_crc0 = mc_interface_get_configuration ()-> crc ;
1040
1040
unsigned mc_crc1 = mc_interface_calc_crc (NULL , false);
1041
- commands_printf (" MC CFG crc: 0x%04X (stored) 0x%04X (recalc)" , mc_crc0 , mc_crc1 );
1042
- commands_printf (" Discrepancy is expected due to run-time recalculation of config params.\n" );
1043
1041
unsigned app_crc0 = app_get_configuration ()-> crc ;
1044
1042
unsigned app_crc1 = app_calc_crc (NULL );
1045
- commands_printf ("APP CFG crc: 0x%04X (stored) 0x%04X (recalc)\n" , app_crc0 , app_crc1 );
1043
+ commands_printf ("MC CFG crc: 0x%04X (stored) 0x%04X (recalc)" , mc_crc0 , mc_crc1 );
1044
+ commands_printf ("APP CFG crc: 0x%04X (stored) 0x%04X (recalc)" , app_crc0 , app_crc1 );
1045
+ commands_printf ("Discrepancy is expected due to run-time recalculation of config params.\n" );
1046
1046
}
1047
1047
1048
1048
// The help command
@@ -1081,6 +1081,9 @@ void terminal_process_string(char *str) {
1081
1081
commands_printf ("tacho" );
1082
1082
commands_printf (" Prints tachometer value" );
1083
1083
1084
+ commands_printf ("dist" );
1085
+ commands_printf (" Prints odometer value" );
1086
+
1084
1087
commands_printf ("tim" );
1085
1088
commands_printf (" Prints tim1 and tim8 settings" );
1086
1089
You can’t perform that action at this time.
0 commit comments