Terrapin-Rocket-Team / Multi-Mission-Flight-Software

An arudino library used by the Terrapin Rocket Team as the foundation of the team's flight software.
5 stars 0 forks source link

Use Pure Virtual Functions in Sensors #56

Closed varun-un closed 1 month ago

varun-un commented 2 months ago

Some of the functions in files like Barometer.h should be pure virtual functions if they are only meant to be overridden, and so this should be changed.

DrewBrandt commented 2 months ago

Can you provide an example of what you mean

DrewBrandt commented 1 month ago

In #51 I changed the read() and init() to protected so they can no longer be accessed from outside the Sensor stack of classes.