diff --git a/firmware/ec/src/bigbrother.c b/firmware/ec/src/bigbrother.c index 5f17edd2c0..df3d82c6cd 100644 --- a/firmware/ec/src/bigbrother.c +++ b/firmware/ec/src/bigbrother.c @@ -334,11 +334,14 @@ static void bigbrother_init(void) /*Creating Semaphore for RX Message Queue*/ semBigBrotherMsg = Semaphore_create(0, NULL, NULL); if (semBigBrotherMsg == NULL) { - LOGGER_ERROR("BIGBROTHER:ERROR::BIGBROTHER RX Semaphore creation failed.\n"); + LOGGER_ERROR( + "BIGBROTHER:ERROR::BIGBROTHER RX Semaphore creation failed.\n"); } /*Creating RX Message Queue*/ bigBrotherRxMsgQueue = Util_constructQueue(&bigBrotherRxMsg); - LOGGER_DEBUG("BIGBROTHER:INFO::Constructing message Queue for 0x%x Big Brother RX Messages.\n", bigBrotherRxMsgQueue); + LOGGER_DEBUG( + "BIGBROTHER:INFO::Constructing message Queue for 0x%x Big Brother RX Messages.\n", + bigBrotherRxMsgQueue); /*Creating TX Message Queue*/ bigBrotherTxMsgQueue = Util_constructQueue(&bigBrotherTxMsg); diff --git a/firmware/ec/test/suites/Test_OcGpio.c b/firmware/ec/test/suites/Test_OcGpio.c index 68723b3b80..ce307f8f68 100644 --- a/firmware/ec/test/suites/Test_OcGpio.c +++ b/firmware/ec/test/suites/Test_OcGpio.c @@ -67,6 +67,7 @@ void test_ocgpio_write(void) OcGpio_GpioPins[1] = 1; TEST_ASSERT_EQUAL(OCGPIO_SUCCESS, OcGpio_write(&s_fake_pin, 0)); TEST_ASSERT_EQUAL(0, OcGpio_GpioPins[1]); + TEST_ASSERT_EQUAL(1, OcGpio_GpioPins[1]); } void test_ocgpio_configure(void)