From: Abhimanyu Swami Date: Thu, 27 Mar 2025 11:35:32 +0000 (+0530) Subject: Fix build errors X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Flocation%2Flbs-server-plugin-replay.git Fix build errors Change-Id: I864c703aa0056241cec25bfc0550d4a397f4d186 --- diff --git a/gps-plugin/src/gps_plugin_replay.c b/gps-plugin/src/gps_plugin_replay.c index 2db586e..d82462d 100755 --- a/gps-plugin/src/gps_plugin_replay.c +++ b/gps-plugin/src/gps_plugin_replay.c @@ -80,7 +80,7 @@ void gps_plugin_replay_pos_event(hal_location_pos_data_s *data) memset(&gps_event, 0, sizeof(gps_event_info_s)); time(×tamp); - gps_event.hal_location_gps_event_id_e = HAL_LOCATION_GPS_EVENT_REPORT_POSITION; + gps_event.event_id = HAL_LOCATION_GPS_EVENT_REPORT_POSITION; if (data == NULL) { LOG_PLUGIN(DBG_ERR, "NULL POS data."); @@ -158,7 +158,7 @@ void gps_plugin_replay_batch_event(hal_location_pos_data_s *data, replay_timeout gps_event_info_s gps_event; memset(&gps_event, 0, sizeof(gps_event_info_s)); - gps_event.hal_location_gps_event_id_e = HAL_LOCATION_GPS_EVENT_REPORT_BATCH; + gps_event.event_id = HAL_LOCATION_GPS_EVENT_REPORT_BATCH; timer->batch_start_time = timestamp; timer->is_flush = FALSE; @@ -186,7 +186,7 @@ void gps_plugin_replay_sv_event(hal_location_sv_data_s *data) memset(&gps_event, 0, sizeof(gps_event_info_s)); time(×tamp); - gps_event.hal_location_gps_event_id_e = HAL_LOCATION_GPS_EVENT_REPORT_SATELLITE; + gps_event.event_id = HAL_LOCATION_GPS_EVENT_REPORT_SATELLITE; if (data == NULL) { LOG_PLUGIN(DBG_ERR, "NULL SV data."); @@ -217,7 +217,7 @@ void gps_plugin_replay_nmea_event(hal_location_nmea_data_s *data) memset(&gps_event, 0, sizeof(gps_event_info_s)); time(×tamp); - gps_event.hal_location_gps_event_id_e = HAL_LOCATION_GPS_EVENT_REPORT_NMEA; + gps_event.event_id = HAL_LOCATION_GPS_EVENT_REPORT_NMEA; if (data == NULL) { LOG_PLUGIN(DBG_ERR, "NULL NMEA data."); @@ -251,7 +251,7 @@ void gps_plugin_replay_nmea_event(hal_location_nmea_data_s *data) void gps_plugin_respond_start_session(gboolean ret) { gps_event_info_s gps_event; - gps_event.hal_location_gps_event_id_e = HAL_LOCATION_GPS_EVENT_START_SESSION; + gps_event.event_id = HAL_LOCATION_GPS_EVENT_START_SESSION; if (ret == TRUE) gps_event.event_data.start_session_rsp.error = HAL_LOCATION_GPS_ERR_NONE; @@ -266,7 +266,7 @@ void gps_plugin_respond_stop_session(void) { gps_event_info_s gps_event; - gps_event.hal_location_gps_event_id_e = HAL_LOCATION_GPS_EVENT_STOP_SESSION; + gps_event.event_id = HAL_LOCATION_GPS_EVENT_STOP_SESSION; gps_event.event_data.stop_session_rsp.error = HAL_LOCATION_GPS_ERR_NONE; if (g_gps_event_cb != NULL)