Skip to content

Commit

Permalink
modules: location: Request all location sources
Browse files Browse the repository at this point in the history
Request all location sources

Signed-off-by: Simen S. Røstad <[email protected]>
  • Loading branch information
simensrostad committed Sep 27, 2024
1 parent 5367a12 commit 0635ba9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/modules/location/location.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ static void status_send(enum location_status status)
void trigger_location_update(void)
{
int err;
struct location_config config = {0};
struct location_config config = {
.mode = LOCATION_REQ_MODE_ALL,
};

if (gnss_enabled) {
location_config_defaults_set(&config, location_methods_size, location_method_types);
Expand Down

0 comments on commit 0635ba9

Please sign in to comment.