boot: i2c driver fixes

This commit is contained in:
Michael Scire 2019-05-02 19:32:03 -07:00
parent 4ea6ce3156
commit fe0d41623c
2 changed files with 2 additions and 1 deletions

View file

@ -51,6 +51,7 @@ void I2cDriverSession::Close(){
if (this->open) {
this->bus_accessor->Close();
this->bus_accessor = nullptr;
this->open = false;
}
}