Commit Graph

3032 Commits

Author SHA1 Message Date
Neil Hanlon
a76049acde Fix bug in setSettingsValue for values constrained between 0 and 1
Fixed a bug in the `setSettingValue` function that caused valid values
within the allowed range to be incorrectly constrained to the minimum
value, when the default value of the option was zero and the allowed
range was from zero to one. The bug was fixed by updating the order of
the `if` statements in the function to ensure that the range check is
done before the value is set. This ensures that valid values within the
range are correctly retained, while out-of-range values are still
constrained to the allowed range.
2023-02-22 01:26:06 -05:00
Neil Hanlon
b1658ec6ee Handle updating certain settings updates over BLE - Fixes #1560 2023-02-22 01:25:49 -05:00
Ben V. Brown
bb151f2dc5 Merge pull request #1588 from DjordjeMandic/patch-2
Update README.md to explain why TS80 is not recommended
2023-02-21 14:55:49 +11:00
Djordje
85b72ec9f8 Update README.md
Add explanation why TS80 is no longer recommended
2023-02-21 03:06:22 +01:00
Ben V. Brown
f29ec5cd99 Merge pull request #1582 from Samuelrmlink/PPSctrl
Added VPDO option for disabling PPS/EPR PDOs.
2023-02-20 11:53:15 +11:00
Samuelrmlink
669e3819e8 Add BLE characteristic - PD VPDOs Enabled 2023-02-19 16:59:26 -06:00
Samuelrmlink
20b4f80255 Attempt to reduce translation size.
TS80P build failed Github checks.
2023-02-19 16:34:29 -06:00
Samuel Hedrick
cd21b49e8c Added BLE characteristic - PD VPDOs Enabled 2023-02-19 16:22:46 -06:00
Samuel Hedrick
6729caa586 Added English strings to other language .json files. 2023-02-19 16:03:49 -06:00
Samuel Hedrick
9892dd0423 Added VPDO option for disabling PPS/EPR PDOs. 2023-02-19 14:13:50 -06:00
Ben V. Brown
eb5d6ea9fd Make BLE name more unique 2023-02-18 18:16:44 +11:00
Ben V. Brown
fe159ba747 Merge pull request #1572 from Samuelrmlink/dev
Fixed USB-PD policy bug.
2023-02-16 16:11:56 +11:00
Samuel Hedrick
5265d7b1ac Fixed USB-PD policy bug.
Some PPS chargers that advertise 7 PDOs are affected.
This includes the Samsung EP-TA845 - likely others as well.
2023-02-15 20:50:23 -06:00
Ben V. Brown
0dd0dc4983 Merge pull request #1567 from Ralim/ble-settings-reset
BLE Settings rename + Unique Name
2023-02-12 11:06:45 +11:00
Ben V. Brown
4a2d59b01c Added 37th option 2023-02-11 22:16:17 +11:00
Ben V. Brown
07cad37bcc Move extras to end of settings 2023-02-11 22:14:49 +11:00
Ben V. Brown
39148d11ed Shift settings to be 0 based; and add reset command 2023-02-11 22:09:26 +11:00
Ben V. Brown
5aacbeaecc Add unqiue id to BLE name 2023-02-11 20:39:41 +11:00
Ben V. Brown
c384194b7f Silence warnings 2023-02-11 19:54:30 +11:00
Ben V. Brown
ac1934f8de Fixup some of the includes for the ble lib 2023-02-11 19:47:58 +11:00
Ben V. Brown
662829ebd9 Merge pull request #1565 from federicodilo/patch-4
Small update in translation_IT.json
2023-02-07 20:06:17 +11:00
Federico Di Lorenzo
daaa9549cf Update translation_IT.json 2023-02-07 09:54:38 +01:00
Ben V. Brown
ee6ae1f3f1 Merge pull request #1557 from cohaolain/ble-adv-mods
Use the scan response to advertise some of the available service UUID…
2023-02-05 12:59:24 +11:00
Ciarán Ó hAoláin
b5f78bbeda Use the scan response to advertise some of the available service UUIDs rather than just repeating the device name 2023-02-05 00:41:57 +00:00
Alexandrebafoil
e23c361a57 Update translation_FR.json (#1556)
Addition of the missing French translations
2023-02-05 08:46:26 +11:00
Thomas White
8e7e58018a expand bulk data to match individual value data (#1555)
* track and return Operating mode with BLE

* move global variable to fix build on other platforms

* formatting

* expand bulk data to match individual value data

* formatting

* fix accidental single line if

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-02-05 00:04:51 +11:00
Thomas White
9802a622d5 Track and return Operating Mode with BLE (#1553)
Track and return Operating Mode with BLE
2023-02-04 09:33:43 +11:00
Ben V. Brown
e19e1a066d Use alpine packaged black
Closes #1554
2023-02-04 09:30:05 +11:00
Ben V. Brown
bb76dfeff6 Merge pull request #1535 from Ralim/testing-fix-for-timer-slot-miss
Change timing scheduler to only run main timer once ADC is done
2023-01-30 17:33:32 +11:00
Ben V. Brown
4ddc9a28f9 Merge branch 'dev' into testing-fix-for-timer-slot-miss 2023-01-30 17:28:03 +11:00
Ben V. Brown
0b6c5ff837 👋 Goodbye Weblate
Dropping weblate for now as its just not reliable.
2023-01-30 17:26:41 +11:00
Ben V. Brown
586fd3b288 Merge pull request #1548 from discip/fix_languages
fixing languages & reverting unwanted weblate changes
2023-01-30 17:11:06 +11:00
discip
67df8c71ba Update translation_EN.json 2023-01-28 14:15:18 +01:00
discip
ce7e228fe5 Update translation_DE.json 2023-01-28 14:14:56 +01:00
discip
760d8c83cb Update translation_JA_JP.json 2023-01-28 14:14:23 +01:00
discip
36fbf760cb Update translation_ES.json 2023-01-28 14:13:19 +01:00
discip
af2b88cb59 fixing languages & reverting unwanted weblate changes 2023-01-28 02:17:23 +01:00
Ben V. Brown
07d85c8211 Merge pull request #1543 from discip/patch-1
simplification
2023-01-25 06:53:28 +11:00
discip
fc10a24a89 simplification 2023-01-24 18:22:50 +01:00
Ben V. Brown
939efbbf4f Merge branch 'testing-fix-for-timer-slot-miss' of ssh://github.com/Ralim/IronOS into testing-fix-for-timer-slot-miss 2023-01-24 18:57:00 +11:00
Ben V. Brown
7e103ccf2d Wait for full ADC Burst 2023-01-24 18:56:49 +11:00
Ben V. Brown
9e967b03d7 Merge pull request #1542 from Ralim/translations
Merging newest translations into dev
2023-01-24 18:41:52 +11:00
Ralim
0559e0f90a Translated using Weblate (Slovenian)
Currently translated at 99.1% (116 of 117 strings)

Translation: IronOS/Main Firmware
Translate-URL: https://hosted.weblate.org/projects/ironos/main-firmware/sl/
2023-01-24 08:37:16 +01:00
Ralim
bd5d341d2f Translated using Weblate (Hungarian)
Currently translated at 99.1% (116 of 117 strings)

Translation: IronOS/Main Firmware
Translate-URL: https://hosted.weblate.org/projects/ironos/main-firmware/hu/
2023-01-24 08:22:19 +01:00
Ben V. Brown
a84df7b94e Merge branch 'dev' into testing-fix-for-timer-slot-miss 2023-01-24 18:15:45 +11:00
Ben V. Brown
f3b4abf434 Update IRQ.cpp 2023-01-24 18:11:44 +11:00
discip
b5179099a7 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.1% (116 of 117 strings)

Translation: IronOS/Main Firmware
Translate-URL: https://hosted.weblate.org/projects/ironos/main-firmware/zh_Hant/
2023-01-24 02:30:11 +01:00
discip
b4ee3ec853 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.1% (116 of 117 strings)

Translation: IronOS/Main Firmware
Translate-URL: https://hosted.weblate.org/projects/ironos/main-firmware/zh_Hans/
2023-01-24 02:30:11 +01:00
discip
7c8f80bb3b Translated using Weblate (Yue (yue_HK))
Currently translated at 99.1% (116 of 117 strings)

Translation: IronOS/Main Firmware
Translate-URL: https://hosted.weblate.org/projects/ironos/main-firmware/yue_HK/
2023-01-24 02:30:11 +01:00
discip
3ca35c1b4a Translated using Weblate (Vietnamese)
Currently translated at 99.1% (116 of 117 strings)

Translation: IronOS/Main Firmware
Translate-URL: https://hosted.weblate.org/projects/ironos/main-firmware/vi/
2023-01-24 02:30:11 +01:00