Commit Graph
6 Commits
Author SHA1 Message Date
zach a495c43731 Refactor float conversion in CommonCLI to use strtof for improved precision and add ftoa3 function for formatting floats with three decimal places in TxtDataHelpers to fix display issue in app and repeater config ui in web
REPO:
1. Flash a repeater
2. Connect over lora
3. Set bw to 42.7 KHZ

It will revert back due to converting a double to a float.

REPO2:
1.Flash Repeater
2. Apply float fix
3. Set to say 20.8
4. try to get value via app or web cli repeater config
It wil show blank because it doesnt return a good value. It would be something like 20.7999992 which the app and web apps dont like so the ftoa3 rounds it and returns a 3 decimal point float
2025-11-14 21:51:28 -07:00
Scott Powell ae53d372a2 * added StrHelper::fromHex() 2025-11-09 16:17:49 +11:00
Scott Powell 1d12bc116d * repeater: various "region" CLI changes
* transport codes 0000 and FFFF reserved
2025-11-07 14:42:06 +11:00
Scott Powell a531537984 * CommonCLI: "get " commands 2025-02-27 18:02:47 +11:00
Scott Powell a896b9c5f7 * new StrHelper::strzcpy() 2025-02-22 20:10:31 +11:00
Scott Powell 395b026e6c * strncpy() refactor/fix 2025-02-22 19:41:24 +11:00