Added the function per se, an enum for the metric system, and the function declaration.
Details
Details
- Reviewers
patrickelectric rizzitello laysrodrigues - Group Reviewers
Atelier: AtCore - Commits
- R232:835e120e3684: Adding the 'setUnits' function
Diff Detail
Diff Detail
- Repository
- R232 AtCore
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/atcore.h | ||
---|---|---|
56 | MesurementUnits? UnitsOfMesure, notsure exactly but MetricSystem is a poor name only because it doesn't describe what the enum is for only one of the choices. | |
57 | ALL Enums should be full caps 'METRIC' , 'IMPERIAL' | |
276 | void setUnits(MetricSystem units) |