Skip to content

Commit f464ec3

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

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
@@ -139,7 +139,7 @@ void common_hal_wifi_radio_set_mac_address(wifi_radio_obj_t *self, const uint8_t
139139
esp_wifi_set_mac(ESP_IF_WIFI_STA, mac);
140140
}
141141

142-
float common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
142+
mp_float_t common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
143143
int8_t tx_power;
144144
esp_wifi_get_max_tx_power(&tx_power);
145145
return tx_power / 4.0;

0 commit comments

Comments
 (0)