Update gp8211.cpp

This commit is contained in:
haudamekki 2024-10-31 08:14:14 +01:00 committed by GitHub
parent 1544bd01e5
commit 6e8eaf0404
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,9 +8,7 @@ static const char *const TAG = "gp8211";
static const uint8_t RANGE_REGISTER = 0x01; static const uint8_t RANGE_REGISTER = 0x01;
void GP8211::setup() { void GP8211::setup() { this->write_register(RANGE_REGISTER, &this->voltage_, 1); }
this->write_register(RANGE_REGISTER, &this->voltage_, 1);
}
void GP8211::dump_config() { void GP8211::dump_config() {
ESP_LOGCONFIG(TAG, "GP8211:"); ESP_LOGCONFIG(TAG, "GP8211:");