mirror of https://github.com/rusefi/bldc.git
debug function for encoder CRC
This commit is contained in:
parent
46d9361886
commit
5b09d687b8
|
@ -638,6 +638,8 @@ void terminal_process_string(char *str) {
|
|||
} else {
|
||||
commands_printf("This command requires one argument.\n");
|
||||
}
|
||||
} else if (strcmp(argv[0], "encoder") == 0) {
|
||||
commands_printf("SPI val:%x, errors:%d", (unsigned int)encoder_spi_get_val(), encoder_spi_get_error_cnt());
|
||||
}
|
||||
|
||||
// The help command
|
||||
|
|
Loading…
Reference in New Issue