From fbebe9e607826f11e78b0ced5430fce0bc6a0c59 Mon Sep 17 00:00:00 2001 From: absalom-muc Date: Tue, 23 Jun 2020 21:07:38 +0200 Subject: [PATCH] bugfix of [issue21](https://github.com/absalom-muc/MHI-AC-Ctrl/issues/21#issuecomment-647954193) --- src/MHI-AC-Ctrl-core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MHI-AC-Ctrl-core.cpp b/src/MHI-AC-Ctrl-core.cpp index 5e9f8a2..d20b3b8 100644 --- a/src/MHI-AC-Ctrl-core.cpp +++ b/src/MHI-AC-Ctrl-core.cpp @@ -134,7 +134,7 @@ int MHI_AC_Ctrl_Core::loop(uint max_time_ms) { MISO_frame[DB0] |= new_Mode; #ifdef POWERON_WHEN_CHANGING_MODE if (new_Mode != 0) - MISO_frame[DB0] |= 0x11; + MISO_frame[DB0] |= 0b11; #endif new_Mode = 0;