Skip to content

Commit

Permalink
fix bug in new MCP code again (ugh)
Browse files Browse the repository at this point in the history
  • Loading branch information
VIPQualityPost committed Feb 6, 2024
1 parent b702457 commit 18fedbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ayab/solenoids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void Solenoids::write(uint16_t newState) {
bankB << 1;
}

mcp.writeGPIOAB(bankA & bankB);
mcp.writeGPIOAB(bankA & (bankB << 8));

#endif
}
Expand Down

0 comments on commit 18fedbe

Please sign in to comment.