summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c
diff options
context:
space:
mode:
authorXVSALGE <aleksandar.gerasimovski@seavus.com>2012-02-22 08:14:11 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:44:00 +0200
commit9dc2897fef041426347e80385707b7c86324c63e (patch)
treeb7525770a2da28553426465f47a6d65efaa22c3b /lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c
parent828be7d08c886347641d8bba675993caf5a13d1a (diff)
Sync lcm with CC source
Synchronize loader_communication with clearcase source ST-Ericsson ID: 413947 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Change-Id: Ib23b84360b351a2598190d9d6b510895cc892436 Depends-On: I4b049943fc2acc63ed5f94dff6d4bc0e36fde1cf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48934 Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Zoran ANCEVSKI <zoran.ancevski@seavus.com> Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com> Tested-by: Cvetko MLADENOVSKI <cvetko.mladenovski@seavus.com> Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c')
-rw-r--r--lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c b/lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c
index e5afef2..509e8cf 100644
--- a/lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c
+++ b/lcmodule/source/cnh1605205_ldr_network_layer/source/r15_network_layer.c
@@ -14,13 +14,13 @@
/*******************************************************************************
* Includes
******************************************************************************/
+#include <stdlib.h>
+#include <string.h>
#include "r_r15_network_layer.h"
#include "r_basicdefinitions.h"
-#include <stdlib.h>
#include "r_debug.h"
#include "r_debug_macro.h"
-#include <string.h>
-#include "c_system.h"
+#include "c_system_v2.h"
#include "r_r15_transport_layer.h"
#include "r_r15_family.h"
#include "r_r15_header.h"
@@ -466,7 +466,7 @@ ErrorCode_e R15_Network_TransmiterHandler(Communication_t *Communication_p)
* Cancel retransmission of packets.
*
* @param [in,out] Communication_p Communication module context.
- * @param [in] UniqueKey Unique key used for identification of packet
+ * @param [in] UniqueKey Unique key used for identification of packet
* for retransmission.
*
* @return none.
@@ -729,6 +729,7 @@ static ErrorCode_e R15_Network_ReceiveHeader(const Communication_t *const Commun
if (print_header) {
uint32 Counter = 0;
+ print_header = 0;
printf("Invalid header! \n");
for (Counter = 0; Counter < 16; Counter++) {
@@ -818,7 +819,7 @@ static ErrorCode_e R15_Network_ReceiveExtendedHeader(Communication_t *Communicat
} else {
A_(
uint32 Counter = 0;
- printf("Invalid exheader! \n");
+ printf("Invalid extended header! \n");
for (Counter = 0; Counter < 16; Counter++) {
printf(" %02X", In_p->Target_p[Counter]);