From 6353a8da0ab4a0dd93a2c6944e338f13d490fb62 Mon Sep 17 00:00:00 2001 From: pcoleman Date: Thu, 29 Aug 2024 15:12:40 +0100 Subject: [PATCH] Add some energy specific types --- src/app/util/basic-types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/util/basic-types.h b/src/app/util/basic-types.h index da6500c1c82e2e..449756fe90ef42 100644 --- a/src/app/util/basic-types.h +++ b/src/app/util/basic-types.h @@ -33,5 +33,8 @@ namespace chip { typedef uint8_t Percent; typedef uint16_t Percent100ths; typedef int64_t Energy_mWh; +typedef int64_t Amperage_mA; +typedef int64_t Power_mW; +typedef int64_t Voltage_mV; } // namespace chip