Skip to content

Commit 22e061b

Browse files
todbotdhalbert
andauthored
Update ports/espressif/common-hal/wifi/Radio.c
Co-authored-by: Dan Halbert <[email protected]>
1 parent 9869215 commit 22e061b

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/common-hal/wifi

1 file changed

+1
-1
lines changed

ports/espressif/common-hal/wifi/Radio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ mp_float_t common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
145145
return tx_power / 4.0f;
146146
}
147147

148-
void common_hal_wifi_radio_set_tx_power(wifi_radio_obj_t *self, const float tx_power) {
148+
void common_hal_wifi_radio_set_tx_power(wifi_radio_obj_t *self, const mp_float_t tx_power) {
149149
esp_wifi_set_max_tx_power(tx_power * 4.0);
150150
}
151151

0 commit comments

Comments
 (0)