8 Commits

Author SHA1 Message Date
Albert I
ad8cf65cc8
sm7325-common: gps: Reorder initializations list to satisfy warnings
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.

This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.

Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
2025-01-19 20:34:07 +02:00
Michael Bestas
b124fc1fd7
sm7325-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2025-01-19 20:34:07 +02:00
Michael Bestas
ae03a427fd sm7325-common: gps: data-items: Fix snprintf usage
Fixes:
gps/core/data-items/DataItemConcreteTypes.cpp:465:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  465 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
gps/core/data-items/DataItemConcreteTypes.cpp:514:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  514 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
2 errors generated.

Change-Id: I37188e7497f7ade97648fb41e2becd73f6b559a9
2024-09-25 20:42:36 -06:00
Michael Bestas
e5deb4a931 sm7325-common: gps: Resolve unused parameter warnings
Change-Id: I3f92e977a847583f35a5a597487c52b5e0e09dde
2024-09-25 20:42:36 -06:00
Marc Bourgoin
c7eb5ab0ba sm7325-common: Update GPS from LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0
Change-Id: If51ee4e4952e4d80fee116e7f7e07ab22a17522a
2024-09-25 20:42:36 -06:00
SGCMarkus
a0fc1b687c sm7325-common: update gps to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0
Change-Id: I100b0807cce37b9f3724c74d2f0979a955d1ddd2
2022-09-29 22:21:29 -04:00
SGCMarkus
81c175bd93 sm7325-common: gps: update to LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0 2022-03-26 23:27:49 +01:00
SGCMarkus
72410cf795 sm8250-common: import gps from LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0
Change-Id: Ib5a80c095e5e203f90cc0d685758553fd18a7f0c
2022-03-23 22:23:56 +01:00