Auto commit at 2025-06-06 15:05:49
This commit is contained in:
parent
46b7d6e536
commit
2d6e4a1c63
@ -68,12 +68,12 @@ private:
|
|||||||
if (data_safe) // 数据安全,进行数据解析并发布
|
if (data_safe) // 数据安全,进行数据解析并发布
|
||||||
{
|
{
|
||||||
// 赋值与打印
|
// 赋值与打印
|
||||||
for (int i = 0; i < 8; ++i)
|
for (int i = 0; i < 10; ++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("ch[%d]:%d ", i, ch_data[i]);
|
||||||
}
|
}
|
||||||
// printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
if (ch_data[6] == 192) // 是否使能车辆控制
|
if (ch_data[6] == 192) // 是否使能车辆控制
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user