mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 03:04:12 +01:00
Fix clang-format
This commit is contained in:
parent
107afaa4e5
commit
869c495d57
1 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ float ByteBuffer::get_float() {
|
|||
assert(this->get_remaining() >= sizeof(float));
|
||||
uint8_t byteArray[sizeof(float)];
|
||||
if (this->endianness_ == LITTLE) {
|
||||
for (uint8_t & bytePart : byteArray) {
|
||||
for (uint8_t &bytePart : byteArray) {
|
||||
i = this->data_[this->position_++];
|
||||
}
|
||||
} else {
|
||||
|
@ -192,7 +192,7 @@ double ByteBuffer::get_double() {
|
|||
assert(this->get_remaining() >= sizeof(double));
|
||||
uint8_t byteArray[sizeof(double)];
|
||||
if (this->endianness_ == LITTLE) {
|
||||
for (uint8_t & bytePart : byteArray) {
|
||||
for (uint8_t &bytePart : byteArray) {
|
||||
i = this->data_[this->position_++];
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue