Update references

This commit is contained in:
Theo Arends 2020-04-10 10:52:22 +02:00
parent aad1aa0dbd
commit a0b0c32ff4
5 changed files with 5 additions and 5 deletions

View File

@ -661,7 +661,7 @@
/*********************************************************************************************\ /*********************************************************************************************\
* Optional firmware configurations * Optional firmware configurations
* Select none or just one for optional features and sensors as configured in tasmota_post.h * Select none or just one for optional features and sensors as configured in tasmota_configurations.h
* See RELEASENOTES.md for selected features * See RELEASENOTES.md for selected features
\*********************************************************************************************/ \*********************************************************************************************/

View File

@ -319,7 +319,7 @@ void SettingsSaveAll(void)
void UpdateQuickPowerCycle(bool update) void UpdateQuickPowerCycle(bool update)
{ {
if (Settings.flag3.fast_power_cycle_disable) { return; } if (Settings.flag3.fast_power_cycle_disable) { return; } // SetOption65 - Disable fast power cycle detection for device reset
uint32_t pc_register; uint32_t pc_register;
uint32_t pc_location = SETTINGS_LOCATION - CFG_ROTATES; uint32_t pc_location = SETTINGS_LOCATION - CFG_ROTATES;

View File

@ -213,7 +213,7 @@ char* ulltoa(unsigned long long value, char *str, int radix)
} }
// see https://stackoverflow.com/questions/6357031/how-do-you-convert-a-byte-array-to-a-hexadecimal-string-in-c // see https://stackoverflow.com/questions/6357031/how-do-you-convert-a-byte-array-to-a-hexadecimal-string-in-c
// char* ToHex_P(unsigned char * in, size_t insz, char * out, size_t outsz, char inbetween = '\0'); in tasmota_post.h // char* ToHex_P(unsigned char * in, size_t insz, char * out, size_t outsz, char inbetween = '\0'); in tasmota_globals.h
char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, char inbetween) char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, char inbetween)
{ {
// ToHex_P(in, insz, out, outz) -> "12345667" // ToHex_P(in, insz, out, outz) -> "12345667"

View File

@ -162,7 +162,7 @@ void* memmove_P(void *dest, const void *src, size_t n)
* Core overrides * Core overrides
\*********************************************************************************************/ \*********************************************************************************************/
// Add below line to tasmota_post.h // Add below line to tasmota_globals.h
// extern "C" void resetPins(); // extern "C" void resetPins();
void resetPins() void resetPins()
{ {

View File

@ -36,7 +36,7 @@
#include "tasmota.h" // Enumeration used in my_user_config.h #include "tasmota.h" // Enumeration used in my_user_config.h
#include "my_user_config.h" // Fixed user configurable options #include "my_user_config.h" // Fixed user configurable options
#ifdef USE_MQTT_TLS #ifdef USE_MQTT_TLS
#include <t_bearssl.h> // we need to include before "tasmota_post.h" to take precedence over the BearSSL version in Arduino #include <t_bearssl.h> // We need to include before "tasmota_globals.h" to take precedence over the BearSSL version in Arduino
#endif // USE_MQTT_TLS #endif // USE_MQTT_TLS
#include "tasmota_globals.h" // Function prototypes and global configuration #include "tasmota_globals.h" // Function prototypes and global configuration
#include "i18n.h" // Language support configured by my_user_config.h #include "i18n.h" // Language support configured by my_user_config.h