Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOSCH144: Add IRac class support #1841

Merged
merged 32 commits into from
Aug 11, 2022
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
db02a5c
BOSCH144: Add IRac class support
NicoThien Jul 18, 2022
407f445
Update IRac.cpp
NicoThien Jul 18, 2022
b352e91
Update IRac.cpp
NicoThien Jul 19, 2022
b53f9d0
Update ir_Bosch.h
NicoThien Jul 19, 2022
392dcec
Update ir_Bosch.h
NicoThien Jul 19, 2022
7d0aee5
Update and rename src/ir_Bosch.h to Quelle/ir_Bosch.h
NicoThien Jul 19, 2022
c42af88
Rename Quelle/ir_Bosch.h to src/ir_Bosch.h
NicoThien Jul 19, 2022
25504b0
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
3f9976b
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
7e68176
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
b2be8e0
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
63ba1f2
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
23799e9
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
cfe77e2
Update ir_Bosch.cpp
NicoThien Jul 19, 2022
871eaf0
Update ir_Bosch.cpp
NicoThien Jul 20, 2022
4850d29
Update ir_Bosch_test.cpp
NicoThien Jul 20, 2022
bf8a63f
Update ir_Bosch_test.cpp
NicoThien Jul 20, 2022
600ee91
Update ir_Bosch_test.cpp
NicoThien Jul 20, 2022
b613652
Update ir_Bosch_test.cpp
NicoThien Jul 20, 2022
cd1b9e7
Edit Test
NicoThien Jul 21, 2022
a190b3c
Add files via upload
NicoThien Jul 21, 2022
a8a8d52
Add files via upload
NicoThien Jul 21, 2022
6bd484f
Add files via upload
NicoThien Jul 21, 2022
cc16b0c
Update ir_Bosch.cpp
NicoThien Jul 21, 2022
edbfb61
Update ir_Bosch.h
NicoThien Jul 22, 2022
b5696c8
Update ir_Bosch.cpp
NicoThien Jul 22, 2022
8b945ce
Update ir_Bosch.cpp
NicoThien Jul 22, 2022
c9dde47
Update src/ir_Bosch.cpp
NicoThien Aug 5, 2022
f052cdb
Update ir_Bosch.cpp
NicoThien Aug 5, 2022
768aa33
Add files via upload
NicoThien Aug 8, 2022
ebac3f7
Update ir_Bosch.cpp
NicoThien Aug 8, 2022
5a6db72
Update ir_Bosch.h
NicoThien Aug 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/ir_Bosch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@ uint8_t* IRBosch144AC::getRaw(void) {
/// Set the internal state from a valid code for this protocol.
/// @param[in] new_code A valid code for this protocol.
void IRBosch144AC::setRaw(const uint8_t new_code[]) {
if (sizeof(new_code) == kBosch144StateLength) {
setPower(true);
std::memcpy(_.raw, new_code, kBosch144StateLength);
if (new_code == kBosch144Off) {
crankyoldgit marked this conversation as resolved.
Show resolved Hide resolved
setPower(false);
} else {
if (new_code == kBosch144Off) setPower(false);
std::memcpy(_.raw, new_code, kBosch144StateLength);
}
}

Expand Down