Skip to content

Commit 56e325c

Browse files
gmarullcarlescufi
authored andcommitted
drivers: wifi: esp_at: use instance based macros
Replace usage of DT_DRV_INST with instance based macros. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 4b511eb commit 56e325c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/wifi/esp_at/esp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern "C" {
5959
#define ESP_PROTO_PASSIVE(proto) 0
6060
#endif /* CONFIG_WIFI_ESP_AT_PASSIVE_MODE */
6161

62-
#define ESP_BUS DT_BUS(DT_DRV_INST(0))
62+
#define ESP_BUS DT_INST_BUS(0)
6363

6464
#if DT_PROP(ESP_BUS, hw_flow_control) == 1
6565
#define _FLOW_CONTROL "3"

0 commit comments

Comments
 (0)