Skip to content

Remove static declaration on batteryValue preventing read attribute from updating. - #711

Merged
JF002 merged 1 commit into
InfiniTimeOrg:developfrom
geekbozu:BatteryReadFix
Oct 2, 2021
Merged

JF002 merged 1 commit into
InfiniTimeOrg:developfrom
geekbozu:BatteryReadFix

Conversation

@geekbozu

@geekbozu geekbozu commented Oct 2, 2021

Copy link
Copy Markdown
Member

No description provided.

@geekbozu geekbozu changed the title Remove static declartion on batteryValue preventing read attribute from updating. Remove static declaration on batteryValue preventing read attribute from updating. Oct 2, 2021
@xan-m

xan-m commented Oct 2, 2021

Copy link
Copy Markdown
Contributor

Solved the problem for me! Battery read attribute is reporting correct values now

@JF002

JF002 commented Oct 2, 2021

Copy link
Copy Markdown
Collaborator

Good catch! I wonder why this variable was declared as static!

@JF002 JF002 added this to the 1.7.0 milestone Oct 2, 2021
@JF002
JF002 merged commit 1159403 into InfiniTimeOrg:develop Oct 2, 2021
@geekbozu geekbozu linked an issue Oct 14, 2021 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Battery (reporting?) issue

3 participants