We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e061b commit a658007Copy full SHA for a658007
ports/espressif/common-hal/wifi/Radio.c
@@ -146,7 +146,7 @@ mp_float_t common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
146
}
147
148
void common_hal_wifi_radio_set_tx_power(wifi_radio_obj_t *self, const mp_float_t tx_power) {
149
- esp_wifi_set_max_tx_power(tx_power * 4.0);
+ esp_wifi_set_max_tx_power(tx_power * 4.0f);
150
151
152
mp_obj_t common_hal_wifi_radio_get_mac_address_ap(wifi_radio_obj_t *self) {
0 commit comments