1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

Added MAYBE_UNUSED to get rid of compiler warning (#14455)

Added UNUSED to get rid of compiler warning
This commit is contained in:
Eric Katzfey 2025-06-17 07:21:09 -07:00 committed by GitHub
parent 881db7fa68
commit 2f9ee19cbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,6 +190,7 @@ void voltageMeterADCRefresh(void)
#endif #endif
#else #else
UNUSED(voltageAdcToVoltage); UNUSED(voltageAdcToVoltage);
UNUSED(voltageMeterAdcChannelMap);
state->voltageDisplayFiltered = 0; state->voltageDisplayFiltered = 0;
state->voltageUnfiltered = 0; state->voltageUnfiltered = 0;