sm8450-common: gps: HAL: Location compilation bringup for wearables
Enable few more important compilation flags which will consider warnings as errors. Most of these flags were configured to be only warning for mobile SPs, but for wearable SPs some of them are configured to be errors. So configure these as in common GNSS flags so that same set of flags could be applied to mobile SPs too. Fix compilation errors which were showing up, when these flags were enabled. Change-Id: I62ef74419d4416252dfc8b25251ba3a51d522bfd CRs-Fixed: 3292623
This commit is contained in:
@@ -584,11 +584,10 @@ int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_p
|
||||
loc_process_info_s_type *child_proc = nullptr;
|
||||
volatile int i=0;
|
||||
unsigned int j=0;
|
||||
gid_t gid_list[LOC_PROCESS_MAX_NUM_GROUPS];
|
||||
char *split_strings[MAX_NUM_STRINGS];
|
||||
int name_length=0, group_list_length=0, platform_length=0, baseband_length=0, ngroups=0, ret=0;
|
||||
int auto_platform_length = 0, soc_id_list_length=0;
|
||||
int group_index=0, nstrings=0, status_length=0;
|
||||
int nstrings=0, status_length=0;
|
||||
FILE* conf_fp = nullptr;
|
||||
char platform_name[PROPERTY_VALUE_MAX], baseband_name[PROPERTY_VALUE_MAX];
|
||||
int low_ram_target=0;
|
||||
@@ -596,7 +595,6 @@ int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_p
|
||||
unsigned int loc_service_mask=0;
|
||||
unsigned char config_mask = 0;
|
||||
unsigned char proc_list_length=0;
|
||||
int gtp_cell_ap_enabled = 0;
|
||||
char arg_gtp_waa[LOC_PROCESS_MAX_ARG_STR_LENGTH] = "--";
|
||||
char arg_gtp_modem_cell[LOC_PROCESS_MAX_ARG_STR_LENGTH] = "--";
|
||||
char arg_gtp_wifi[LOC_PROCESS_MAX_ARG_STR_LENGTH] = "--";
|
||||
|
Reference in New Issue
Block a user