Update ports/espressif/common-hal/wifi/Radio.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
This commit is contained in:
parent
22e061ba35
commit
a658007673
@ -146,7 +146,7 @@ mp_float_t common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
|
||||
}
|
||||
|
||||
void common_hal_wifi_radio_set_tx_power(wifi_radio_obj_t *self, const mp_float_t tx_power) {
|
||||
esp_wifi_set_max_tx_power(tx_power * 4.0);
|
||||
esp_wifi_set_max_tx_power(tx_power * 4.0f);
|
||||
}
|
||||
|
||||
mp_obj_t common_hal_wifi_radio_get_mac_address_ap(wifi_radio_obj_t *self) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user