From 56218565c18c63b1f5aa8c4a13e1b403d2d5962f Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 23 Jan 2016 21:52:42 -0800 Subject: [PATCH] Use TPMS declared invalid_key as default initializer values. --- firmware/application/tpms_app.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/tpms_app.hpp b/firmware/application/tpms_app.hpp index 8484fb22..a79ebb1e 100644 --- a/firmware/application/tpms_app.hpp +++ b/firmware/application/tpms_app.hpp @@ -157,8 +157,8 @@ struct TPMSRecentEntry { static const Key invalid_key; - tpms::Reading::Type type { tpms::Reading::Type::None }; - tpms::TransponderID id { 0 }; + tpms::Reading::Type type { invalid_key.first }; + tpms::TransponderID id { invalid_key.second }; size_t received_count { 0 };