Skip to content

Commit

Permalink
Fixing the build error on the main branch. (#35)
Browse files Browse the repository at this point in the history
Co-authored-by: Manvendra Sharma <manvensh@amazon.com>
  • Loading branch information
manvensh and manvensh-eero authored Sep 5, 2023
1 parent bcd93cb commit e9ecc5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions demo/ota_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ bool otaDemo_handleIncomingMQTTMessage( char * topic,
handleMqttStreamsBlockArrived( decodedData, decodedDataLength );
}
}
}

if( !handled )
{
Expand All @@ -113,7 +114,7 @@ static bool jobMetadataHandlerChain( char * topic, size_t topicLength )
( const char * ) &globalJobId,
strnlen( globalJobId,
MAX_JOB_ID_LENGTH ),
Accepted );
JobUpdateStatus_Accepted );

if( handled )
{
Expand All @@ -127,7 +128,7 @@ static bool jobMetadataHandlerChain( char * topic, size_t topicLength )
( const char * ) &globalJobId,
strnlen( globalJobId,
MAX_JOB_ID_LENGTH ),
Rejected );
JobUpdateStatus_Rejected );
}

if( handled )
Expand Down

0 comments on commit e9ecc5d

Please sign in to comment.