[FL-831] Update DIS profile: add firmware generation and software version. Stack overflow fixes. (#322)

* BLE: prevent stack overflow in hrs thread
* BLE: add firmware and software attribute to dis service
* BLE: return tx to 0dBm
* BLE: update tx power configuration comment to match real value
This commit is contained in:
あく
2021-02-02 19:41:19 +03:00
committed by GitHub
parent 41219cc78e
commit 8836e34840
3 changed files with 7 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
#include "hw_if.h"
#include "ble_bufsize.h"
#define CFG_TX_POWER (0x1F) /* +6dBm */
#define CFG_TX_POWER (0x19) /* +0dBm */
/**
* Define Advertising parameters
@@ -463,7 +463,7 @@ typedef enum
#define CFG_HRS_PROCESS_CB_SIZE (0)
#define CFG_HRS_PROCESS_STACK_MEM (0)
#define CFG_HRS_PROCESS_PRIORITY osPriorityNone
#define CFG_HRS_PROCESS_STACK_SIZE (128 * 5)
#define CFG_HRS_PROCESS_STACK_SIZE (128 * 8)
typedef enum {
CFG_LPM_APP,