1.7.1 - fix for 2.5.1 arduino core lib

This commit is contained in:
proddy
2019-05-17 13:57:39 +02:00
parent f1b61df515
commit 4f9c1826df
5 changed files with 17 additions and 7 deletions

View File

@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.7.1] 2019-05-17
### Added
- new device: MM50 Mixer ([thanks GARLAGANDIS](https://github.com/proddy/EMS-ESP/issues/111))
### Fixed
- runtime exceptions with latest 2.5.1 arduino core library
## [1.7.0] 2019-05-11
### Added

View File

@@ -906,14 +906,14 @@ void MyESP::showSystemStats() {
char buffer[16] = {0};
/* Crash info */
myDebug_P(PSTR(" [EEPROM] EEPROM size: %u"), EEPROMr.reserved() * SPI_FLASH_SEC_SIZE);
strlcpy(output_str, PSTR(" [EEPROM] EEPROM Sector pool size is "), sizeof(output_str));
strlcpy(output_str, " [EEPROM] EEPROM Sector pool size is ", sizeof(output_str));
strlcat(output_str, itoa(EEPROMr.size(), buffer, 10), sizeof(output_str));
strlcat(output_str, PSTR(", and in use are: "), sizeof(output_str));
strlcat(output_str, ", and in use are: ", sizeof(output_str));
for (uint32_t i = 0; i < EEPROMr.size(); i++) {
strlcat(output_str, itoa(EEPROMr.base() - i, buffer, 10), sizeof(output_str));
strlcat(output_str, PSTR(" "), sizeof(output_str));
strlcat(output_str, " ", sizeof(output_str));
}
myDebug_P(output_str);
myDebug(output_str);
#endif
#ifdef ARDUINO_BOARD

View File

@@ -9,7 +9,7 @@
#ifndef MyEMS_h
#define MyEMS_h
#define MYESP_VERSION "1.1.10"
#define MYESP_VERSION "1.1.11"
#include <ArduinoJson.h>
#include <ArduinoOTA.h>

View File

@@ -93,7 +93,7 @@ typedef struct {
bool doingColdShot; // true if we've just sent a jolt of cold water
} _EMSESP_Shower;
command_t PROGMEM project_cmds[] = {
command_t project_cmds[] = {
{true, "led <on | off>", "toggle status LED on/off"},
{true, "led_gpio <gpio>", "set the LED pin. Default is the onboard LED (D1=5)"},

View File

@@ -6,5 +6,5 @@
#pragma once
#define APP_NAME "EMS-ESP"
#define APP_VERSION "1.7.0"
#define APP_VERSION "1.7.1"
#define APP_HOSTNAME "ems-esp"