Skip to content

Commit

Permalink
Fixing access to framingErrorCount_; it was not being dereferenced in…
Browse files Browse the repository at this point in the history
… an instance.
  • Loading branch information
ssilverman committed Feb 28, 2018
1 parent 6d99826 commit 768aca1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void uart0_rx_error_isr() {
instance->receiveBreak();
} else {
// Not a break
framingErrorCount_++;
instance->framingErrorCount_++;
instance->completePacket();
}
}
Expand Down Expand Up @@ -444,7 +444,7 @@ void uart1_rx_error_isr() {
instance->receiveBreak();
} else {
// Not a break
framingErrorCount_++;
instance->framingErrorCount_++;
instance->completePacket();
}
}
Expand Down Expand Up @@ -526,7 +526,7 @@ void uart2_rx_error_isr() {
instance->receiveBreak();
} else {
// Not a break
framingErrorCount_++;
instance->framingErrorCount_++;
instance->completePacket();
}
}
Expand Down Expand Up @@ -570,7 +570,7 @@ void uart3_rx_error_isr() {
instance->receiveBreak();
} else {
// Not a break
framingErrorCount_++;
instance->framingErrorCount_++;
instance->completePacket();
}
}
Expand Down Expand Up @@ -615,7 +615,7 @@ void uart4_rx_error_isr() {
instance->receiveBreak();
} else {
// Not a break
framingErrorCount_++;
instance->framingErrorCount_++;
instance->completePacket();
}
}
Expand Down Expand Up @@ -660,7 +660,7 @@ void uart5_rx_error_isr() {
instance->receiveBreak();
} else {
// Not a break
framingErrorCount_++;
instance->framingErrorCount_++;
instance->completePacket();
}
}
Expand Down

0 comments on commit 768aca1

Please sign in to comment.