rcommand.cpp bugfix get_time()

This commit is contained in:
Klaus K Wilting committed 2019-02-24 15:04:47 +01:00
1 parent 658402976b
commit a676658977
1 file changed
+1 -5
+1 -5
View File
@@ -274,13 +274,9 @@ void get_bme(uint8_t val[]) {
void get_time(uint8_t val[]) {
ESP_LOGI(TAG, "Remote command: get time");
#ifdef HAS_BME
payload.reset();
payload.addtime(now());
payload.addTime(now());
SendPayload(TIMEPORT, prio_high);
#else
ESP_LOGW(TAG, "BME680 sensor not supported");
#endif
};
// assign previously defined functions to set of numeric remote commands