mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Formatting
This commit is contained in:
parent
58b0d28904
commit
e6dc8f9910
1 changed files with 1 additions and 1 deletions
|
@ -2616,7 +2616,7 @@ void HOT WaveshareEPaper7P3InF::display() {
|
|||
uint8_t byte_to_send;
|
||||
for (auto &buffer : this->buffers_) {
|
||||
for (uint32_t buffer_pos = 0; buffer_pos < small_buffer_length; buffer_pos += 3) {
|
||||
std::bitset<24> triplet =
|
||||
std::bitset<24> triplet =
|
||||
buffer[buffer_pos + 0] << 16 | buffer[buffer_pos + 1] << 8 | buffer[buffer_pos + 2] << 0;
|
||||
// 8 bitset<3> are stored in 3 bytes
|
||||
// |aaabbbaa|abbbaaab|bbaaabbb|
|
||||
|
|
Loading…
Reference in a new issue