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 9869215 commit 22e061bCopy full SHA for 22e061b
ports/espressif/common-hal/wifi/Radio.c
@@ -145,7 +145,7 @@ mp_float_t common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
145
return tx_power / 4.0f;
146
}
147
148
-void common_hal_wifi_radio_set_tx_power(wifi_radio_obj_t *self, const float tx_power) {
+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);
150
151
0 commit comments