Testing, device-id, esp-receiver configurable
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user