drivers: wifi: esp_at: use instance based macros

Replace usage of DT_DRV_INST with instance based macros.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-12-16 11:09:52 +01:00 committed by Carles Cufí
commit 56e325ca83

View file

@ -59,7 +59,7 @@ extern "C" {
#define ESP_PROTO_PASSIVE(proto) 0
#endif /* CONFIG_WIFI_ESP_AT_PASSIVE_MODE */
#define ESP_BUS DT_BUS(DT_DRV_INST(0))
#define ESP_BUS DT_INST_BUS(0)
#if DT_PROP(ESP_BUS, hw_flow_control) == 1
#define _FLOW_CONTROL "3"