Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:nerdyscout/Arduino_MCP3x6x_Libra…
Browse files Browse the repository at this point in the history
…ry into develop
  • Loading branch information
nerdyscout committed Mar 26, 2024
2 parents 0f3dfa7 + 6d937c6 commit e2352b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MCP3x6x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ MCP3x6x::status_t MCP3x6x::read(Adcdata *data) {
}
*/
uint8_t buffer[s];
memset(buffer, 0, s);

// while (status_dr()) {
_transfer(buffer, MCP3x6x_CMD_SREAD | MCP3x6x_ADR_ADCDATA, s);
Expand Down

0 comments on commit e2352b0

Please sign in to comment.