mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Fixed missing ESC motor 4 on Amperage meter part
This commit is contained in:
parent
3e5c24477c
commit
fcc6c2fe1b
1 changed files with 2 additions and 2 deletions
|
@ -441,9 +441,9 @@ static bool mspCommonProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProce
|
|||
|
||||
case MSP_CURRENT_METERS: {
|
||||
// write out id and current meter values, once for each meter we support
|
||||
uint8_t count = supportedVoltageMeterCount;
|
||||
uint8_t count = supportedCurrentMeterCount;
|
||||
#ifndef USE_OSD_SLAVE
|
||||
count = supportedVoltageMeterCount - (VOLTAGE_METER_ID_ESC_COUNT - getMotorCount());
|
||||
count = supportedCurrentMeterCount - (VOLTAGE_METER_ID_ESC_COUNT - getMotorCount());
|
||||
#endif
|
||||
for (int i = 0; i < count; i++) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue