Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kluge Svendsrud authored and Andreas Kluge Svendsrud committed Sep 20, 2024
1 parent 467dc1d commit 42bb77d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def timer_callback(self):
def warning_timer_callback(self):
# Check if Pressure is abnormaly to high, if so print a warning
if (self.pressure > self.pressureCriticalLevel):
self.logger.fatal(
f"WARNING: Internal pressure to HIGH: {
self.pressure} hPa! Drone might be LEAKING!")
self.logger.fatal(f"WARNING: Internal pressure to HIGH: {self.pressure} hPa! Drone might be LEAKING!")


def main(args=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ def warning_timer_callback(self):
# Check if Temperature is abnormal and if so print a warning
if (self.temperature > self.temperatureCriticalLevel):
self.logger.fatal(
f"WARNING: Temperature inside the Drone to HIGH: {
self.temperature} *C! Drone might be overheating!")
f"WARNING: Temperature inside the Drone to HIGH: {self.temperature} *C! Drone might be overheating!")


def main(args=None):
Expand Down

0 comments on commit 42bb77d

Please sign in to comment.