1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 07:32:22 +01:00

Update mcp4461.cpp

This commit is contained in:
Oliver Kleinecke
2025-02-03 22:39:54 +01:00
committed by GitHub
parent 474a5c515c
commit 308cbda7e6

View File

@@ -341,7 +341,7 @@ void Mcp4461Component::set_eeprom_value(MCP4461EEPRomLocation location, uint16_t
this->mcp4461_write_(addr, value, true);
}
void Mcp4461Component::mcp4461_write_(uint8_t addr, uint16_t data, bool nonvolatile = false) {
void Mcp4461Component::mcp4461_write_(uint8_t addr, uint16_t data, bool nonvolatile) {
uint8_t reg = 0;
if (data > 0xFF) {
reg = 1;