-
Olaf Bergmann authored
Under ESP-IDF [1], coap.h resides in port/include/coap and therefore is not found by the #include <coap2/coap.h>. This adds a pre-processor conditional to #include <coap.h> if ESP_PLATFORM is defined. [1] https://github.com/espressif/esp-idf
aa225f74