stm32/rfcore: Leave txpower level as default when initialising rfcore.

And provide a convenient API function to change it (currently unused).

Fixes issue #5985.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2020-06-16 12:29:02 +10:00
parent 289be6b352
commit 4b5dd012e0
2 changed files with 7 additions and 1 deletions

View File

@@ -33,5 +33,6 @@ void rfcore_init(void);
void rfcore_ble_init(void);
void rfcore_ble_hci_cmd(size_t len, const uint8_t *src);
void rfcore_ble_check_msg(int (*cb)(void *, const uint8_t *, size_t), void *env);
void rfcore_ble_set_txpower(uint8_t level);
#endif // MICROPY_INCLUDED_STM32_RFCORE_H