From 768aca136a77da8e83cdc51cfd8e68ee5cc46205 Mon Sep 17 00:00:00 2001 From: Shawn Silverman Date: Wed, 28 Feb 2018 12:49:08 -0800 Subject: [PATCH] Fixing access to framingErrorCount_; it was not being dereferenced in an instance. --- src/Receiver.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Receiver.cpp b/src/Receiver.cpp index 45ddd82..ef9242d 100644 --- a/src/Receiver.cpp +++ b/src/Receiver.cpp @@ -362,7 +362,7 @@ void uart0_rx_error_isr() { instance->receiveBreak(); } else { // Not a break - framingErrorCount_++; + instance->framingErrorCount_++; instance->completePacket(); } } @@ -444,7 +444,7 @@ void uart1_rx_error_isr() { instance->receiveBreak(); } else { // Not a break - framingErrorCount_++; + instance->framingErrorCount_++; instance->completePacket(); } } @@ -526,7 +526,7 @@ void uart2_rx_error_isr() { instance->receiveBreak(); } else { // Not a break - framingErrorCount_++; + instance->framingErrorCount_++; instance->completePacket(); } } @@ -570,7 +570,7 @@ void uart3_rx_error_isr() { instance->receiveBreak(); } else { // Not a break - framingErrorCount_++; + instance->framingErrorCount_++; instance->completePacket(); } } @@ -615,7 +615,7 @@ void uart4_rx_error_isr() { instance->receiveBreak(); } else { // Not a break - framingErrorCount_++; + instance->framingErrorCount_++; instance->completePacket(); } } @@ -660,7 +660,7 @@ void uart5_rx_error_isr() { instance->receiveBreak(); } else { // Not a break - framingErrorCount_++; + instance->framingErrorCount_++; instance->completePacket(); } }