mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
More fixes to formatting
This commit is contained in:
parent
4fbe82a504
commit
466c746375
3 changed files with 12 additions and 16 deletions
|
@ -87,7 +87,6 @@ void DS3232Component::setup() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void DS3232Component::update() {
|
||||
if (this->late_startup_)
|
||||
return;
|
||||
|
@ -352,7 +351,6 @@ void DS3232Component::process_alarms_() {
|
|||
this->write_bytes(I2C_REG_STATUS, reg_data_.raw_blocks.status_raw, sizeof(reg_data_.raw_blocks.status_raw));
|
||||
}
|
||||
|
||||
|
||||
/// @brief Reads i2c registers from chip
|
||||
/// @return True - if data has been read; otherwise - false
|
||||
bool DS3232Component::read_data_() {
|
||||
|
|
|
@ -22,7 +22,6 @@ enum DS3232PowerState {
|
|||
BATTERY = 0b10
|
||||
};
|
||||
|
||||
|
||||
/// @brief State of NVRAM functionality
|
||||
enum DS3232NVRAMState {
|
||||
/// @brief State is unknown
|
||||
|
|
|
@ -53,7 +53,6 @@ union DS3232AlarmMode {
|
|||
mutable uint8_t raw;
|
||||
};
|
||||
|
||||
|
||||
/// @brief Alarm description
|
||||
struct DS3232Alarm {
|
||||
/// Indicates whether this alarm is enabled or not
|
||||
|
|
Loading…
Reference in a new issue