Merge branch 'bugfix/modbus_test_fix_include_mac_headers' into 'master'

test fix include mac header

See merge request idf/esp-modbus!13
This commit is contained in:
Alex Lisitsyn
2022-07-16 01:18:38 +08:00
2 changed files with 10 additions and 1 deletions

View File

@ -15,6 +15,11 @@
#include "esp_log.h"
#include "nvs_flash.h"
#include "esp_netif.h"
#if __has_include("esp_mac.h")
#include "esp_mac.h"
#endif
#include "mdns.h"
#include "protocol_examples_common.h"

View File

@ -15,9 +15,13 @@
#include "esp_event.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "mdns.h"
#include "esp_netif.h"
#if __has_include("esp_mac.h")
#include "esp_mac.h"
#endif
#include "protocol_examples_common.h"
#include "mbcontroller.h" // for mbcontroller defines and api