diff --git a/unit_tests/tests/lua/test_lua_vag.cpp b/unit_tests/tests/lua/test_lua_vag.cpp index 67ecce6521..e9ad7d4c8b 100644 --- a/unit_tests/tests/lua/test_lua_vag.cpp +++ b/unit_tests/tests/lua/test_lua_vag.cpp @@ -37,10 +37,11 @@ TEST(LuaVag, packMotor1) { setTwoBytes(data, 2, rpm / 0.25) data[5] = innerTorqWithoutExt / 0.4 data[6] = tps / 0.4 + data[7] = torqueLoss / 0.39 print(arrayToString(data)) - expected = { 0x00, 0x27, 0xDC, 0x12, 0x36, 0x4F, 0x00, 0x00 } + expected = { 0x00, 0x27, 0xDC, 0x12, 0x36, 0x4F, 0x19, 0x00 } -- print(data) return equals(data, expected) end