Skip to content

Commit 8f24dc7

Browse files
committed
fix
1 parent 652001e commit 8f24dc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Src/u_threads.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ void sensors_thread(ULONG thread_input) {
3939
uint32_t count = 25;
4040

4141
while(1) {
42-
CATCH_ERROR(read_imu_and_magnometer());
42+
CATCH_ERROR(read_imu_and_magnometer(), U_SUCCESS);
4343

4444
if (count >= 25) {
45-
CATCH_ERROR(read_sht30());
45+
CATCH_ERROR(read_sht30(), U_SUCCESS);
4646
send_sht30_data();
4747
send_imu_and_magnometer_data();
4848
count = 0;

0 commit comments

Comments
 (0)