mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
fix typo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SIGN_IN_ENDPOINT /*
|
||||
/*
|
||||
* EMS-ESP - https://github.com/emsesp/EMS-ESP
|
||||
* Copyright 2020-2023 Paul Derbyshire
|
||||
*
|
||||
@@ -20,28 +20,28 @@ SIGN_IN_ENDPOINT /*
|
||||
|
||||
#include "emsesp.h"
|
||||
|
||||
namespace emsesp {
|
||||
namespace emsesp {
|
||||
|
||||
class Roomctrl {
|
||||
public:
|
||||
static void send(const uint8_t addr);
|
||||
static void check(const uint8_t addr, const uint8_t * data);
|
||||
static void set_remotetemp(const uint8_t hc, const int16_t temp);
|
||||
class Roomctrl {
|
||||
public:
|
||||
static void send(const uint8_t addr);
|
||||
static void check(const uint8_t addr, const uint8_t * data);
|
||||
static void set_remotetemp(const uint8_t hc, const int16_t temp);
|
||||
|
||||
private:
|
||||
static constexpr uint8_t ADDR = 0x18;
|
||||
static constexpr uint32_t SEND_INTERVAL = 60000; // 1 minute
|
||||
static constexpr uint8_t HCS = 4; // max 4 heating circuits
|
||||
private:
|
||||
static constexpr uint8_t ADDR = 0x18;
|
||||
static constexpr uint32_t SEND_INTERVAL = 60000; // 1 minute
|
||||
static constexpr uint8_t HCS = 4; // max 4 heating circuits
|
||||
|
||||
static void version(uint8_t addr, uint8_t dst);
|
||||
static void unknown(uint8_t addr, uint8_t dst, uint8_t type, uint8_t offset);
|
||||
static void temperature(uint8_t addr, uint8_t dst);
|
||||
static void nack_write();
|
||||
static void version(uint8_t addr, uint8_t dst);
|
||||
static void unknown(uint8_t addr, uint8_t dst, uint8_t type, uint8_t offset);
|
||||
static void temperature(uint8_t addr, uint8_t dst);
|
||||
static void nack_write();
|
||||
|
||||
static bool switch_off_[HCS];
|
||||
static uint32_t rc_time_[HCS];
|
||||
static int16_t remotetemp_[HCS];
|
||||
};
|
||||
static bool switch_off_[HCS];
|
||||
static uint32_t rc_time_[HCS];
|
||||
static int16_t remotetemp_[HCS];
|
||||
};
|
||||
|
||||
} // namespace emsesp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user