mirror of
https://github.com/esphome/esphome.git
synced 2025-03-28 13:38:17 +00:00
Update mcp4461.cpp
This commit is contained in:
parent
4073162e74
commit
1a2c534f87
@ -84,7 +84,7 @@ void Mcp4461Component::dump_config() {
|
||||
uint8_t status_register_value;
|
||||
status_register_value = this->get_status_register();
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" └── Status register: D7: %" PRIu8 ", WL3: %" PRIu8 ", WL2: %" PRIu8 ", EEWA: %" PRIu8
|
||||
" └── Status register: D7: %" PRIu8 ", WL3: %" PRIu8 ", WL2: %" PRIu8 ", EEWA: %" PRIu8
|
||||
", WL1: %" PRIu8 ", WL0: %" PRIu8 ", R1: %" PRIu8 ", WP: %" PRIu8 "",
|
||||
((status_register_value >> 7) & 0x01), ((status_register_value >> 6) & 0x01),
|
||||
((status_register_value >> 5) & 0x01), ((status_register_value >> 4) & 0x01),
|
||||
|
Loading…
x
Reference in New Issue
Block a user