powersave #2
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ int main() {
|
|||
printf("%d-%02d-%02d %02d:%02d.%02d\n", dt.year, dt.month, dt.day, hour, dt.min, dt.sec);
|
||||
|
||||
// If there was a waste bin pickup found AND we are in the evening (>= 18:00) …
|
||||
if (it != dates.end() && hour >= 18) {
|
||||
if (it != dates.end() && hour >= 18 && hour < 23) {
|
||||
auto wasteDate = *it;
|
||||
size_t count{0};
|
||||
auto currentTime = time_us_64();
|
||||
|
|
Loading…
Reference in a new issue