Skip to content

Bit Mask fixes in INA220.h #8262

@troyholt

Description

@troyholt

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

Metadata

Metadata

Assignees

Labels

Area: driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions