Device: Conditionally retrieve component versions

This commit is contained in:
Kyle Schwarz
2024-04-17 14:36:42 -04:00
parent 53ba297a44
commit bc6f5eca9c
17 changed files with 40 additions and 5 deletions
@@ -22,6 +22,8 @@ public:
return supportedNetworks;
}
bool supportsComponentVersions() const override { return true; }
private:
ValueCAN3(neodevice_t neodevice, const driver_factory_t& makeDriver) : Device(neodevice) {
initialize<ValueCAN3Settings>(makeDriver);