ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
cstxxx.cpp
Go to the documentation of this file.
1#include "cstxxx.h"
2#include "esphome/core/log.h"
3
4namespace esphome::cstxxx {
5
6ESPHOME_LOG_TAG(TAG, "cstxxx");
7
8void CSTTouchscreen::fail_check_code_(uint16_t check_code) {
9 ESP_LOGE(TAG, "Firmware check code 0x%04X", check_code);
10 this->mark_failed(LOG_STR("Invalid firmware check code"));
11}
12
13} // namespace esphome::cstxxx
void mark_failed()
Mark this component as failed.
void fail_check_code_(uint16_t check_code)
Logs a wrong firmware check code and marks the component failed.
Definition cstxxx.cpp:8
ESPHOME_LOG_TAG(TAG, "cstxxx")