Skip to content

Commit

Permalink
removed unused pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Nov 11, 2021
1 parent 4f2da03 commit ffd61a9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dallassensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ bool DallasSensor::temperature_convert_complete() {
#endif
}

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

int16_t DallasSensor::get_temperature_c(const uint8_t addr[]) {
#ifndef EMSESP_STANDALONE
if (!bus_.reset()) {
Expand Down Expand Up @@ -276,8 +273,6 @@ int16_t DallasSensor::get_temperature_c(const uint8_t addr[]) {
#endif
}

#pragma GCC diagnostic pop

const std::vector<DallasSensor::Sensor> DallasSensor::sensors() const {
return sensors_;
}
Expand Down

0 comments on commit ffd61a9

Please sign in to comment.