From f74e6690cbee4fc6bc66286b26332b722397cf72 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Mon, 28 Dec 2015 16:51:34 -0800 Subject: [PATCH] Utilize class types for member variables -- slightly more generic. --- firmware/common/complex.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/common/complex.hpp b/firmware/common/complex.hpp index 06d787bd8..645a9b439 100644 --- a/firmware/common/complex.hpp +++ b/firmware/common/complex.hpp @@ -66,8 +66,8 @@ public: private: union { - int8_t _v[2]; - uint16_t _rep; + value_type _v[2]; + rep_type _rep; }; }; @@ -121,8 +121,8 @@ public: private: union { - int16_t _v[2]; - uint32_t _rep; + value_type _v[2]; + rep_type _rep; }; };