Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
1 parent
80dddb4cae
commit
c0b05ada1a
218 files changed
+1569
-931
No files matched your search
@@ -9,8 +9,10 @@ namespace qr_code {
|
||||
static const char *const TAG = "qr_code";
|
||||
|
||||
void QrCode::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "QR code:");
|
||||
ESP_LOGCONFIG(TAG, " Value: '%s'", this->value_.c_str());
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"QR code:\n"
|
||||
" Value: '%s'",
|
||||
this->value_.c_str());
|
||||
}
|
||||
|
||||
void QrCode::set_value(const std::string &value) {
|
||||
|
||||
Reference in new issue
Block a user