mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-02-02 23:57:44 +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;
|
extern PubSubClient client;
|
||||||
|
|
||||||
class HomeAssistantHelper {
|
class HomeAssistantHelper {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <Arduino.h>
|
||||||
#include <OpenTherm.h>
|
#include <OpenTherm.h>
|
||||||
|
|
||||||
extern SchedulerClass Scheduler;
|
extern SchedulerClass Scheduler;
|
||||||
@@ -19,7 +21,6 @@ public:
|
|||||||
Scheduler.yield();
|
Scheduler.yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
//unsigned long response = OpenTherm::sendRequest(request);
|
|
||||||
unsigned long _response;
|
unsigned long _response;
|
||||||
if (!sendRequestAync(request)) {
|
if (!sendRequestAync(request)) {
|
||||||
_response = 0;
|
_response = 0;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#pragma once
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
#if defined(EQUITHERM_INTEGER)
|
#if defined(EQUITHERM_INTEGER)
|
||||||
|
|||||||
@@ -67,4 +67,4 @@ void setup() {
|
|||||||
Scheduler.begin();
|
Scheduler.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {}
|
void loop() {}
|
||||||
Reference in New Issue
Block a user