Skip to content

Commit

Permalink
logging improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Aug 3, 2024
1 parent e7d4353 commit 22e51a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion digital-inputs/firmware/test_digital_outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ bool testEcuDigitalOutputs(size_t startStepIndex) {

void setOutputAddrIndex(int index) {
int param = index;
chprintf(chp, " Setting ADDR %d\r\n", param);
chprintf(chp, " Selecting ADDR %d\r\n", param);
for (size_t i = 0;i<efi::size(addrPins);i++) {
int bitState = (index & 1) ^ XOR_MAGIC;
index = index / 2;
Expand Down
2 changes: 1 addition & 1 deletion digital-inputs/firmware/test_logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ static bool doTestEcuDigitalOutput(int testLineIndex, bool isLowSide, CanRequest
//&& isGood
; i++) {
bool isSet = (i & 1) == 0;
chprintf(chp, " sending line=%d value=%d\r\n", index2human(testLineIndex), isSet);
chprintf(chp, " sending line=%d@%d value=%d\r\n", index2human(testLineIndex), i, isSet);
// toggle the ECU pin for low side mode
sender(testLineIndex, isSet ^ isLowSide);

Expand Down

0 comments on commit 22e51a6

Please sign in to comment.