fix macos compile issues (#22173)

* fix macos compile issues

* remove unused variable
This commit is contained in:
Daniel Honies
2023-10-12 09:13:19 +13:00
committed by GitHub
parent d2b3e7fe16
commit 476b5d5594
5 changed files with 5 additions and 7 deletions
-2
View File
@@ -359,7 +359,6 @@ bool RCTest::sbus2Test()
bool sbus_frame_drop;
uint16_t max_channels = sizeof(rc_values) / sizeof(rc_values[0]);
int rate_limiter = 0;
unsigned last_drop = 0;
while (EOF != (ret = fscanf(fp, "%f,%x,,", &f, &x))) {
@@ -390,7 +389,6 @@ bool RCTest::sbus2Test()
last_drop = sbus_frame_drops + sbus_frame_resets;
}
rate_limiter++;
}
ut_test(ret == EOF);