More fixes to formatting

This commit is contained in:
Vladimir Kozhevnikov 2024-02-06 01:18:08 +03:00
parent 4fbe82a504
commit 466c746375
3 changed files with 12 additions and 16 deletions

View file

@ -87,7 +87,6 @@ void DS3232Component::setup() {
} }
} }
void DS3232Component::update() { void DS3232Component::update() {
if (this->late_startup_) if (this->late_startup_)
return; 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)); 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 /// @brief Reads i2c registers from chip
/// @return True - if data has been read; otherwise - false /// @return True - if data has been read; otherwise - false
bool DS3232Component::read_data_() { bool DS3232Component::read_data_() {

View file

@ -22,7 +22,6 @@ enum DS3232PowerState {
BATTERY = 0b10 BATTERY = 0b10
}; };
/// @brief State of NVRAM functionality /// @brief State of NVRAM functionality
enum DS3232NVRAMState { enum DS3232NVRAMState {
/// @brief State is unknown /// @brief State is unknown

View file

@ -53,7 +53,6 @@ union DS3232AlarmMode {
mutable uint8_t raw; mutable uint8_t raw;
}; };
/// @brief Alarm description /// @brief Alarm description
struct DS3232Alarm { struct DS3232Alarm {
/// Indicates whether this alarm is enabled or not /// Indicates whether this alarm is enabled or not