Skip to content

Commit

Permalink
fix failed ci
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
  • Loading branch information
Andrey1994 committed Sep 13, 2023
1 parent b7e6753 commit 82ef5ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/board_controller/aavaa/aavaa_v3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void AAVAAv3::read_data (
Incoming_BLE_Data_Buffer.insert (Incoming_BLE_Data_Buffer.end (), data, data + size);
}

while (Incoming_BLE_Data_Buffer.size () >= SIZE_OF_DATA_FRAME)
while ((int)Incoming_BLE_Data_Buffer.size () >= SIZE_OF_DATA_FRAME)
{
if (Incoming_BLE_Data_Buffer[0] != START_BYTE)
{
Expand Down Expand Up @@ -558,8 +558,7 @@ void AAVAAv3::read_data (
package[board_descr["default"]["battery_channel"].get<int> ()] = (double)data_frame[40];

// imu status byte
package[board_descr["default"]["other_channels"][0].get<int> ()] =
(double)data_frame[41];
package[board_descr["default"]["other_channels"][0].get<int> ()] = (double)data_frame[41];

// timestamp
try
Expand Down

0 comments on commit 82ef5ee

Please sign in to comment.