Skip to content

Commit

Permalink
SFT-1071: enabled battery adc task
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Dec 8, 2023
1 parent 0731735 commit 6972e89
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 6972e89

Please sign in to comment.