Update BleFingerprint.h

Initialize volts to zero
This commit is contained in:
Darrell 2021-09-15 15:22:31 -04:00 committed by GitHub
parent 9dfd5697e9
commit c58a1aa59b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ private:
int newest = -100;
int recent = -100;
int oldest = -100;
float raw, lastReported, temp = 0;
float raw = 0, lastReported = 0, temp = 0;
long firstSeenMicros, lastSeenMicros = 0, lastReportedMicros = 0;
uint16_t volts;
uint16_t volts = 0;
Reading<Differential<float>> output;