-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bit Mask fixes in INA220.h #8262
Copy link
Copy link
Closed
Labels
Area: driversArea: Device driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Milestone
Description
I just noticed these two lines and thought I would flag them for someone to fix:
72 INA220_BRNG_32V_FSR = 0x0200, // should be 0x2000
122 INA220_BADC_AVG_1_SAMPLE = 0x0400, // should be 0x0000 if you are ORing the ADCBIT bit
// mask with the SAMPLE bit mask
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: driversArea: Device driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)