Commit 0f4a515a authored by schneider's avatar schneider
Browse files

Merge branch 'rahix/led-cfg' into 'master'

card10.cfg: Add config option for flashlight LED

See merge request !483
parents dcac74db f95711e1
Pipeline #5277 passed with stages
in 1 minute and 12 seconds
......@@ -4,3 +4,7 @@ set -e
cd "$(dirname "$0")"
sphinx-build -b html . ./output
if [ "$1" = "--open" ]; then
xdg-open ./output/index.html
......@@ -64,4 +64,6 @@ Option name Type Description
``bsec_offset`` Integer Temperature offset in .1 K. Example: Set to `-14` if temperature reads 1.4 "C" to high. Default: -2.2 K (appropriate for a card10 without a case, connected to USB and with BLE active in vertical orientation).
------------------ ---------- -----------
``battery_check`` Boolean Whether the low battery check should be enabled (default ``true``). **Warning**: Do not use this unless you know what you're doing. This option is only meant to be used on devices with a broken PMIC ADMUX connection.
------------------ ---------- -----------
``has_flashlight`` Boolean Whether the flashlight LED was soldered onto the harmonic board. Can be used by apps to optionally enable flashlight features.
================== ========== ===========
......@@ -167,7 +167,10 @@ def fix_issue_8945():
if kw in c_domain._keywords:
if hasattr(c_domain, "_macroKeywords") and kw in c_domain._macroKeywords:
def parse_xref_object(self):
name = self._parse_nested_name()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment