Fix an issue where the FIRE could not be opened

This commit is contained in:
Paul Hollinsky
2020-06-17 15:11:57 -04:00
parent 7a71a35848
commit dcc44d99ea
3 changed files with 15 additions and 9 deletions
+4
View File
@@ -166,6 +166,10 @@ protected:
virtual void setupExtensions() {}
void addExtension(std::shared_ptr<DeviceExtension>&& extension);
// Hook for devices such as FIRE which need to inject traffic before RequestSerialNumber
// Return false to bail
virtual bool afterCommunicationOpen() { return true; }
template<typename Extension>
std::shared_ptr<Extension> getExtension() const {