This commit is contained in:
root 2025-05-20 09:37:07 +08:00
parent 5b1b6092fc
commit 4303ed9c73

View File

@ -68,8 +68,9 @@ private:
for (int i = 0; i < 8; ++i) for (int i = 0; i < 8; ++i)
{ {
ch_data[i] = uart_handler_->get_channel_value(i); ch_data[i] = uart_handler_->get_channel_value(i);
printf("ch[%d]:%d ", i, ch_data[i]);
} }
printf("\n");
// 是否使能车辆控制 // 是否使能车辆控制
if (ch_data[6] == 192) if (ch_data[6] == 192)
{ {