Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BangleJS2: Barometer does not show any value #1429

Closed
nxdefiant opened this issue Feb 11, 2022 · 2 comments
Closed

BangleJS2: Barometer does not show any value #1429

nxdefiant opened this issue Feb 11, 2022 · 2 comments

Comments

@nxdefiant
Copy link
Contributor

nxdefiant commented Feb 11, 2022

The barometer just shows the background image, error in console:

Uncaught Error: Unhandled promise rejection: Error: Cannot read property 'pressure' of undefined

Does it need a call to Bangle.setBarometerPower(true) first?

@HilmarSt
Copy link
Contributor

HilmarSt commented Feb 11, 2022

also see the discussion at http://forum.espruino.com/conversations/372900

gfwilliams added a commit that referenced this issue Feb 14, 2022
@gfwilliams
Copy link
Member

gfwilliams commented Feb 14, 2022

added a workaround for now so the app works with existing firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants