mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
more clang
This commit is contained in:
parent
6d8b54ed42
commit
965efa63af
1 changed files with 3 additions and 1 deletions
|
@ -433,7 +433,9 @@ void ExtEepromComponent::set_page_write_time_(uint8_t write_time_ms) { memory_pa
|
||||||
uint8_t ExtEepromComponent::get_page_write_time_() { return memory_page_write_time_ms_; }
|
uint8_t ExtEepromComponent::get_page_write_time_() { return memory_page_write_time_ms_; }
|
||||||
/// @brief Set address_bytes for the device
|
/// @brief Set address_bytes for the device
|
||||||
/// @param address_bytes contains the number of bytes the device uses for address
|
/// @param address_bytes contains the number of bytes the device uses for address
|
||||||
void ExtEepromComponent::set_address_size_bytes_(uint8_t address_size_bytes) { this->address_size_bytes_ = address_size_bytes; }
|
void ExtEepromComponent::set_address_size_bytes_(uint8_t address_size_bytes) {
|
||||||
|
this->address_size_bytes_ = address_size_bytes;
|
||||||
|
}
|
||||||
/// @brief Gets the number of bytes used for the address
|
/// @brief Gets the number of bytes used for the address
|
||||||
/// @return size in bytes
|
/// @return size in bytes
|
||||||
uint8_t ExtEepromComponent::get_address_size_bytes_() { return this->address_size_bytes_; }
|
uint8_t ExtEepromComponent::get_address_size_bytes_() { return this->address_size_bytes_; }
|
||||||
|
|
Loading…
Reference in a new issue