Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Taraqur <tqrahman8@gmail.com>
  • Loading branch information
tqrahman committed Mar 15, 2024
1 parent cfe38e2 commit 23c4ff0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ static void smartDelay(unsigned long ms)
}

bool runSensor(void *) {

duck.standBy();

// Creating a boolean to store the result
bool result;

Expand All @@ -111,9 +110,6 @@ bool runSensor(void *) {
} else {
Serial.println("[MAMA] runSensor failed.");
}

duck.sleep();

// Return result
return result;
}
Expand Down

0 comments on commit 23c4ff0

Please sign in to comment.