adjust
This commit is contained in:
parent
f1845fe9f8
commit
842861faa1
|
@ -262,7 +262,7 @@ namespace ratgdo {
|
||||||
|
|
||||||
void RATGDOComponent::printRollingCode()
|
void RATGDOComponent::printRollingCode()
|
||||||
{
|
{
|
||||||
ESP_LOGD(TAG, "Counter: %d Send code: [%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x]",
|
ESP_LOGD(TAG, "Counter: %d Send code: [%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X]",
|
||||||
this->rollingCodeCounter,
|
this->rollingCodeCounter,
|
||||||
this->txRollingCode[0],
|
this->txRollingCode[0],
|
||||||
this->txRollingCode[1],
|
this->txRollingCode[1],
|
||||||
|
|
|
@ -31,6 +31,7 @@ namespace ratgdo {
|
||||||
return "OFF";
|
return "OFF";
|
||||||
case LIGHT_STATE_ON:
|
case LIGHT_STATE_ON:
|
||||||
return "ON";
|
return "ON";
|
||||||
|
// 2 and 3 appears sometimes
|
||||||
case LIGHT_STATE_UNKNOWN:
|
case LIGHT_STATE_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
|
|
Loading…
Reference in New Issue