mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
removed unused pragma
This commit is contained in:
@@ -210,9 +210,6 @@ bool DallasSensor::temperature_convert_complete() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
|
||||||
|
|
||||||
int16_t DallasSensor::get_temperature_c(const uint8_t addr[]) {
|
int16_t DallasSensor::get_temperature_c(const uint8_t addr[]) {
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
if (!bus_.reset()) {
|
if (!bus_.reset()) {
|
||||||
@@ -276,8 +273,6 @@ int16_t DallasSensor::get_temperature_c(const uint8_t addr[]) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
|
|
||||||
const std::vector<DallasSensor::Sensor> DallasSensor::sensors() const {
|
const std::vector<DallasSensor::Sensor> DallasSensor::sensors() const {
|
||||||
return sensors_;
|
return sensors_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user