summaryrefslogtreecommitdiff
path: root/SmartDeviceLink
diff options
context:
space:
mode:
authorJustin Beharry <justin.beharry@livio.io>2022-08-23 15:12:46 -0400
committerJustin Beharry <justin.beharry@livio.io>2022-08-23 15:12:46 -0400
commita0a217792de6540c9c92cae57d6344a9daf00508 (patch)
treef6b8da8152b9b6183a2974691783eb1c6a1be568 /SmartDeviceLink
parentd6b1ea4aac66dcaecc64a7683d5f4c278f556e37 (diff)
downloadsdl_ios-a0a217792de6540c9c92cae57d6344a9daf00508.tar.gz
organize unit tests and remove unnecessary header
Diffstat (limited to 'SmartDeviceLink')
-rw-r--r--SmartDeviceLink/private/SDLProtocolReceivedMessageProcessor.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/SmartDeviceLink/private/SDLProtocolReceivedMessageProcessor.m b/SmartDeviceLink/private/SDLProtocolReceivedMessageProcessor.m
index 87f1630af..010ae102c 100644
--- a/SmartDeviceLink/private/SDLProtocolReceivedMessageProcessor.m
+++ b/SmartDeviceLink/private/SDLProtocolReceivedMessageProcessor.m
@@ -10,7 +10,7 @@
#import "SDLGlobals.h"
#import "SDLLogMacros.h"
-#import "SDLProtocolReceivedMessageRouter.h"
+#import "SDLProtocolHeader.h"
typedef NS_ENUM(NSUInteger, ProcessorState) {
@@ -268,11 +268,10 @@ typedef NS_ENUM(NSUInteger, ProcessorState) {
//todo - still missing the payload
messageHasEnded = YES;
break;
- } else {
- self.state = DATA_PUMP_STATE;
}
+
+ self.state = DATA_PUMP_STATE;
[self.headerBuffer appendBytes:&currentByte length:sizeof(currentByte)];
-
break;
case DATA_PUMP_STATE: