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:
parent
4b511eb520
commit
56e325ca83
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue