display_lock_state(LCD_OFF, STAY_CUR_STATE, 0);
LOG_GPS(LOG_DEBUG, "display_lock_state(LCD_OFF, STAY_CUR_STATE, 0);");
- status = hal_location_request(GPS_ACTION_START_BATCH, &gps_start_data, &reason_code);
+ status = hal_location_request(HAL_LOCATION_GPS_ACTION_START_BATCH, &gps_start_data, &reason_code);
if (status == FALSE) {
LOG_GPS(DBG_ERR, "Batch: sending GPS_ACTION_START_SESSION Fail !");
display_unlock_state(LCD_OFF, PM_RESET_TIMER);
LOG_GPS(DBG_LOW, "display_unlock_state(LCD_OFF, PM_RESET_TIMER);");
- status = hal_location_request(GPS_ACTION_STOP_BATCH, &gps_start_data, &reason_code);
+ status = hal_location_request(HAL_LOCATION_GPS_ACTION_STOP_BATCH, &gps_start_data, &reason_code);
if (status == TRUE && session_status == 0) {
server->session_state = GPS_SESSION_STOPPING;
LOG_GPS(DBG_LOW, "==GPSSessionState[%d]", server->session_state);