Skip to content

Commit

Permalink
Add some energy specific types
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC1965 committed Aug 29, 2024
1 parent 1d0dcbc commit 6353a8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/util/basic-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6353a8d

Please sign in to comment.