BLE: fix incorrect RSSI calculation. Firmware: don't mark system as tainted on test releases. (#567)

* BLE: correct RSSI calculation routine.
* Firmware: only guard boot on production releases.
* BLE: proper float formatting in cli
* BLE: faster RSSI refresh
This commit is contained in:
あく
2021-07-07 00:23:59 +03:00
committed by GitHub
parent 54114553c1
commit 607e873404
5 changed files with 18 additions and 8 deletions

View File

@@ -7,7 +7,9 @@
#define BOOT_REQUEST_DFU 0xDF00B000
void api_hal_boot_init() {
#ifndef DEBUG
LL_RTC_BAK_SetRegister(RTC, LL_RTC_BKP_DR0, BOOT_REQUEST_TAINTED);
#endif
}
void api_hal_boot_set_mode(ApiHalBootMode mode) {