Skip to content

Commit 2040a24

Browse files
committed
NRF52Board.h: Mark getMCUTemperature() as virtual
The function in the derived class is virtual per definition. Mark it to make this clearer to the reader. Signed-off-by: Frieder Schrempf <[email protected]>
1 parent aeab413 commit 2040a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/NRF52Board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class NRF52Board : public mesh::MainBoard {
1212
public:
1313
virtual void begin();
1414
virtual uint8_t getStartupReason() const override { return startup_reason; }
15-
float getMCUTemperature() override;
15+
virtual float getMCUTemperature() override;
1616
virtual void reboot() override { NVIC_SystemReset(); }
1717
};
1818

0 commit comments

Comments
 (0)