mirror of
https://github.com/esphome/esphome.git
synced 2026-01-10 04:00:51 -07:00
[sn74hc595]: fix 'Attempted read from write-only channel' when using esp-idf framework (#12801)
This commit is contained in:
@@ -70,7 +70,7 @@ void SN74HC595GPIOComponent::write_gpio() {
|
||||
void SN74HC595SPIComponent::write_gpio() {
|
||||
for (uint8_t &output_byte : std::ranges::reverse_view(this->output_bytes_)) {
|
||||
this->enable();
|
||||
this->transfer_byte(output_byte);
|
||||
this->write_byte(output_byte);
|
||||
this->disable();
|
||||
}
|
||||
SN74HC595Component::write_gpio();
|
||||
|
||||
Reference in New Issue
Block a user