iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.18k stars 1.48k forks source link

LED Strip BATTERY function seems broken #6207

Open MrMap opened 4 years ago

MrMap commented 4 years ago

Current Behavior

LED Strip LEDs that are assigned to BATTERY function always give green light - even when battery voltage is low

Steps to Reproduce

  1. Configure Warning Cell Voltage, e.g. 3.5 volt/cell
  2. Configure LED Strip, assign at least one LED to function BATTERY - and Save
  3. Note color of the assigned LED - GREEN
  4. Change the battery voltage to below Warning Cell Voltage value - LED remains green. Battery voltage has no effect on LED color.

Expected behavior

I expect the assigned LED to change color depending on BATTERY voltage with reference to configured Warning Cell Voltage. For example:

Suggested solution(s)

I suggest troubleshooting the related firmware.

Additional context

I searched the iNAV wiki for more info regarding LED-strip in order to find out how to.../ criterias. Unable to find info.


INAV/MATEKF765 2.5.2 Aug 4 2020 / 10:30:32 (faaedc7cb)

GCC-9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label BUG to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.