mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 23:14:54 +01:00
Fixed minimal available address of NVRAM
This commit is contained in:
parent
4e14a0b8c0
commit
d2f656ed13
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ enum DS3232NVRAMState {
|
||||||
static const uint8_t SVC_NVRAM_ADDRESS = 0x14;
|
static const uint8_t SVC_NVRAM_ADDRESS = 0x14;
|
||||||
|
|
||||||
/// @brief Minimal number of NVRAM register available to user variables.
|
/// @brief Minimal number of NVRAM register available to user variables.
|
||||||
static const uint8_t MIN_NVRAM_ADDRESS = 0x20;
|
static const uint8_t MIN_NVRAM_ADDRESS = 0x18;
|
||||||
|
|
||||||
/// @brief Maximal number of NVRAM register available to user variables.
|
/// @brief Maximal number of NVRAM register available to user variables.
|
||||||
static const uint8_t MAX_NVRAM_ADDRESS = 0xFF;
|
static const uint8_t MAX_NVRAM_ADDRESS = 0xFF;
|
||||||
|
|
|
@ -126,7 +126,7 @@ CONF_REGISTER = "register"
|
||||||
CONF_PERSISTENT_STORAGE = "persistent_storage"
|
CONF_PERSISTENT_STORAGE = "persistent_storage"
|
||||||
CONF_CPP_TYPE = "cpp_type"
|
CONF_CPP_TYPE = "cpp_type"
|
||||||
|
|
||||||
MIN_REGISTER_VALUE = 0x16
|
MIN_REGISTER_VALUE = 0x18
|
||||||
MAX_REGISTER_VALUE = 0xFF
|
MAX_REGISTER_VALUE = 0xFF
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue