mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 02:34:29 +05:00
feat: add support board "OT Thing" (#123)
* Add board "OT Thing" * style: formatting --------- Co-authored-by: Yurii <34578544+Laxilef@users.noreply.github.com>
This commit is contained in:
@@ -69,6 +69,11 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef OT_BYPASS_RELAY_GPIO
|
||||
pinMode(OT_BYPASS_RELAY_GPIO, OUTPUT);
|
||||
digitalWrite(OT_BYPASS_RELAY_GPIO, true);
|
||||
#endif
|
||||
|
||||
// create instance
|
||||
this->instance = new CustomOpenTherm(settings.opentherm.inGpio, settings.opentherm.outGpio);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user