Search found 1 match

by floows-s
Sat Feb 21, 2026 1:29 pm
Forum: General Discussion
Topic: Default value of esp_err_t
Replies: 1
Views: 90

Default value of esp_err_t

Hello,
I want to start by saying i am a beginner...

Why is the default/first value of esp_err_t: ESP_OK?
That means if not handled correctly by some stupid overlooked thing it would be ESP_OK.
I would rather it be ESP_FAIL: its better that something goes right but it reports it as false (ESP_FAIL ...

Go to advanced search