ttrftech / NanoVNA

Very Tiny Palmtop Vector Network Analyzer
1.06k stars 296 forks source link

Do not draw battery icon if D2 is not present #117

Closed GrantM11235 closed 4 years ago

GrantM11235 commented 4 years ago

We need to check vbat again after the voltage is read the first time, otherwise an empty battery icon will be drawn once and it will persist until the screen is fully redrawn.

DiSlord commented 4 years ago

It should be fixed in lasts commits

GrantM11235 commented 4 years ago

Yup, I just tested it. Thanks!