Skip to content

Commit

Permalink
Merge pull request #434 from Foundation-Devices/SFT-1071-make-sure-ad…
Browse files Browse the repository at this point in the history
…c-task-runs

SFT-1071: make sure adc task runs
  • Loading branch information
jeandudey committed Dec 11, 2023
2 parents 0731735 + 6972e89 commit c983d34
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def calc_battery_percent(current, voltage):

async def battery_adc_task():
import passport
if not passport.HAS_FUEL_GAUGE:

if passport.IS_SIMULATOR:
return

while True:
Expand Down

0 comments on commit c983d34

Please sign in to comment.