Fix inverted nullptr check
This commit is contained in:
parent
d42829b643
commit
ed9bd0a083
@ -73,7 +73,7 @@ void setupWifi()
|
||||
QueueHandle_t setupEspNow()
|
||||
{
|
||||
s_esp_now_queue = xQueueCreate(4, sizeof(EspNowEvent));
|
||||
ESP_ERROR_CHECK(s_esp_now_queue != nullptr);
|
||||
ESP_ERROR_CHECK(s_esp_now_queue == nullptr);
|
||||
|
||||
ESP_ERROR_CHECK(esp_now_init());
|
||||
// ESP_ERROR_CHECK(esp_now_set_pmk(nullptr));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user