mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Update gp8211.cpp
This commit is contained in:
parent
1544bd01e5
commit
6e8eaf0404
1 changed files with 1 additions and 3 deletions
|
@ -8,9 +8,7 @@ static const char *const TAG = "gp8211";
|
|||
|
||||
static const uint8_t RANGE_REGISTER = 0x01;
|
||||
|
||||
void GP8211::setup() {
|
||||
this->write_register(RANGE_REGISTER, &this->voltage_, 1);
|
||||
}
|
||||
void GP8211::setup() { this->write_register(RANGE_REGISTER, &this->voltage_, 1); }
|
||||
|
||||
void GP8211::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "GP8211:");
|
||||
|
|
Loading…
Reference in a new issue