FastLED 3.9.15
Loading...
Searching...
No Matches

◆ hasError()

bool fl::third_party::TJpgInstanceDecoder::hasError ( fl::string * msg = nullptr) const

Definition at line 233 of file driver.cpp.hpp.

233 {
234 if (state_ == State::Error) {
235 if (msg) {
236 *msg = error_message_;
237 }
238 return true;
239 }
240 return false;
241}

References Error, error_message_, FL_NOEXCEPT, and state_.