Testing, device-id, esp-receiver configurable

This commit is contained in:
2021-05-02 15:01:09 +02:00
parent 61374b584a
commit 2e72d8dc42
5 changed files with 36 additions and 15 deletions

View File

@@ -20,10 +20,10 @@ void test_message_header() {
TEST_ASSERT_EQUAL(0x11, header);
// header
TEST_ASSERT_EQUAL(0x10, header & 0x10);
TEST_ASSERT_EQUAL(0x10, header & 0xf0);
// id
TEST_ASSERT_EQUAL(0x01, header & 0x01);
TEST_ASSERT_EQUAL(0x01, header & 0x0f);
}