We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 652001e commit 8f24dc7Copy full SHA for 8f24dc7
1 file changed
Core/Src/u_threads.c
@@ -39,10 +39,10 @@ void sensors_thread(ULONG thread_input) {
39
uint32_t count = 25;
40
41
while(1) {
42
- CATCH_ERROR(read_imu_and_magnometer());
+ CATCH_ERROR(read_imu_and_magnometer(), U_SUCCESS);
43
44
if (count >= 25) {
45
- CATCH_ERROR(read_sht30());
+ CATCH_ERROR(read_sht30(), U_SUCCESS);
46
send_sht30_data();
47
send_imu_and_magnometer_data();
48
count = 0;
0 commit comments