mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-10 18:24:27 +05:00
fix
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +0,0 @@
|
||||
/.vscode
|
||||
/bin/*
|
||||
!/bin/src.ino.bin
|
||||
Binary file not shown.
4
otgateway.ino
Normal file
4
otgateway.ino
Normal file
@@ -0,0 +1,4 @@
|
||||
/*
|
||||
This file is needed by the Arduino IDE because the ino file needs to be named as the directory name.
|
||||
Don't worry, the Arduino compiler will "merge" all files, including src/main.cpp
|
||||
*/
|
||||
@@ -1,3 +1,4 @@
|
||||
#pragma once
|
||||
extern PubSubClient client;
|
||||
|
||||
class HomeAssistantHelper {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
#include <OpenTherm.h>
|
||||
|
||||
extern SchedulerClass Scheduler;
|
||||
@@ -19,7 +21,6 @@ public:
|
||||
Scheduler.yield();
|
||||
}
|
||||
|
||||
//unsigned long response = OpenTherm::sendRequest(request);
|
||||
unsigned long _response;
|
||||
if (!sendRequestAync(request)) {
|
||||
_response = 0;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
#if defined(EQUITHERM_INTEGER)
|
||||
|
||||
@@ -67,4 +67,4 @@ void setup() {
|
||||
Scheduler.begin();
|
||||
}
|
||||
|
||||
void loop() {}
|
||||
void loop() {}
|
||||
Reference in New Issue
Block a user