forked from airgradienthq/arduino
Remove unnecessary todo
This commit is contained in:
@ -143,7 +143,6 @@ TempHumCorrectionAlgorithm Configuration::matchTempHumAlgorithm(String algorithm
|
|||||||
|
|
||||||
bool Configuration::updatePmCorrection(JSONVar &json) {
|
bool Configuration::updatePmCorrection(JSONVar &json) {
|
||||||
if (!json.hasOwnProperty("corrections")) {
|
if (!json.hasOwnProperty("corrections")) {
|
||||||
// TODO: need to response message?
|
|
||||||
Serial.println("corrections not found");
|
Serial.println("corrections not found");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -232,7 +231,6 @@ bool Configuration::updatePmCorrection(JSONVar &json) {
|
|||||||
bool Configuration::updateTempHumCorrection(JSONVar &json, TempHumCorrection &target,
|
bool Configuration::updateTempHumCorrection(JSONVar &json, TempHumCorrection &target,
|
||||||
const char *correctionName) {
|
const char *correctionName) {
|
||||||
if (!json.hasOwnProperty(jprop_corrections)) {
|
if (!json.hasOwnProperty(jprop_corrections)) {
|
||||||
// TODO: need to response message?
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user