diff --git a/unit_tests/tests/test_cpp_memory_layout.cpp b/unit_tests/tests/test_cpp_memory_layout.cpp index cc7b6dde28..78c7d4348e 100644 --- a/unit_tests/tests/test_cpp_memory_layout.cpp +++ b/unit_tests/tests/test_cpp_memory_layout.cpp @@ -99,6 +99,6 @@ TEST(CppMemoryLayout, structSize) { ASSERT_EQ(1, sizeof(pin_input_mode_e)) << "pin_input_mode_e enum size"; ASSERT_EQ(1, sizeof(pin_output_mode_e)) << "pin_output_mode_e enum size"; ASSERT_EQ(2, sizeof(brain_pin_e)) << "brain_pin_e enum size"; - ASSERT_EQ(16, sizeof(air_pressure_sensor_config_s)); + ASSERT_EQ(12, sizeof(air_pressure_sensor_config_s)); ASSERT_EQ(TOTAL_CONFIG_SIZE, sizeof(persistent_config_s)); }