mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 09:45:11 -04:00
Extract calculation of temperature from raw sensor value.
This commit is contained in:
parent
146a06b0d1
commit
c92138f4b3
2 changed files with 6 additions and 1 deletions
|
@ -93,6 +93,7 @@ public:
|
|||
void paint(Painter& painter) override;
|
||||
|
||||
private:
|
||||
int32_t temperature(const uint32_t sensor_value);
|
||||
};
|
||||
|
||||
class TemperatureView : public View {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue