Change-Id: I008d477fda64411ebe3374da7f9d90d3da175367
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
*
* Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
- * Genie Kim <daejins.kim@samsung.com>
- *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
int nmea_parser(char *data, pos_data_t *pos, sv_data_t *sv)
{
+ if (!data) return READ_ERROR;
+
int ret = READ_SUCCESS;
read_error_t err;
int num_sen = 0;