修复SPI通道错误的问题,增加看门狗功能
This commit is contained in:
@@ -247,10 +247,10 @@ void can_loopback_test(void) {
|
||||
if((transmit_message.tx_sfid == receive_message.rx_sfid) && (transmit_message.tx_ff == receive_message.rx_ff)
|
||||
&& (transmit_message.tx_dlen == receive_message.rx_dlen) ) {
|
||||
/* loopback test is success */
|
||||
std::printf("CAN LO0PBACK SUCCESS");
|
||||
std::printf("CAN LO0PBACK SUCCESS\r\n");
|
||||
} else {
|
||||
/* loopback test is failed */
|
||||
std::printf("CAN LO0PBACK FAIL");
|
||||
std::printf("CAN LO0PBACK FAIL\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user