mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
autoformatting
This commit is contained in:
@@ -101,7 +101,6 @@ const DashboarDevicesDialog = ({
|
||||
if (dv.s) {
|
||||
helperText += 'n';
|
||||
if (dv.m !== undefined && dv.x !== undefined) {
|
||||
|
||||
helperText += ' between ' + dv.m + ' and ' + dv.x;
|
||||
} else {
|
||||
helperText += ' , step ' + dv.s;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
SIGN_IN_ENDPOINT /*
|
||||
* EMS-ESP - https://github.com/emsesp/EMS-ESP
|
||||
* Copyright 2020-2023 Paul Derbyshire
|
||||
*
|
||||
@@ -15,15 +15,14 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef EMSESP_ROOMCONTROL_H
|
||||
#define EMSESP_ROOMCONTROL_H
|
||||
|
||||
#include "emsesp.h"
|
||||
|
||||
namespace emsesp {
|
||||
namespace emsesp {
|
||||
|
||||
class Roomctrl {
|
||||
class Roomctrl {
|
||||
public:
|
||||
static void send(const uint8_t addr);
|
||||
static void check(const uint8_t addr, const uint8_t * data);
|
||||
@@ -42,7 +41,7 @@ class Roomctrl {
|
||||
static bool switch_off_[HCS];
|
||||
static uint32_t rc_time_[HCS];
|
||||
static int16_t remotetemp_[HCS];
|
||||
};
|
||||
};
|
||||
|
||||
} // namespace emsesp
|
||||
|
||||
|
||||
@@ -60,8 +60,15 @@ const char * const languages[] = {EMSESP_LOCALE_EN};
|
||||
#elif defined(EMSESP_DE_ONLY)
|
||||
const char * const languages[] = {EMSESP_LOCALE_DE};
|
||||
#else
|
||||
const char * const languages[] =
|
||||
{EMSESP_LOCALE_EN, EMSESP_LOCALE_DE, EMSESP_LOCALE_NL, EMSESP_LOCALE_SV, EMSESP_LOCALE_PL, EMSESP_LOCALE_NO, EMSESP_LOCALE_FR, EMSESP_LOCALE_TR, EMSESP_LOCALE_IT};
|
||||
const char * const languages[] = {EMSESP_LOCALE_EN,
|
||||
EMSESP_LOCALE_DE,
|
||||
EMSESP_LOCALE_NL,
|
||||
EMSESP_LOCALE_SV,
|
||||
EMSESP_LOCALE_PL,
|
||||
EMSESP_LOCALE_NO,
|
||||
EMSESP_LOCALE_FR,
|
||||
EMSESP_LOCALE_TR,
|
||||
EMSESP_LOCALE_IT};
|
||||
#endif
|
||||
|
||||
static constexpr uint8_t NUM_LANGUAGES = sizeof(languages) / sizeof(const char *);
|
||||
|
||||
Reference in New Issue
Block a user