diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 09:06:18 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 09:06:18 +0900 |
commit | 00ab09fac9701443fdff616fdcc274809a03d4d7 (patch) | |
tree | 03aa078b69aa17d12c77f7d4b74cf6f3a93ffefd /positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp | |
parent | fa6fa9f4ee5486b30d223914e1a6e50d4d3adf71 (diff) |
vs-positioning branch 0.1sandbox/ToshikazuOhiwa/vs-positioning
Diffstat (limited to 'positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp')
-rw-r--r-- | positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp b/positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp index a0de8e9e..9637b727 100644 --- a/positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp +++ b/positioning/server/src/Sensor/VehicleSens_Did_GpsTimeRaw.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,16 +36,16 @@ * @param[out] VEHICLESENS_DATA_MASTER* * @param[in] u_int8 */ -//void VehicleSensGetGpsTimeRaw(SENSOR_MSG_GPSDATA_DAT *pst_data, u_int8 uc_get_method) { -// switch (uc_get_method) { -// case VEHICLESENS_GETMETHOD_GPS: -// { -// /** To acquire from GPS */ -// VehicleSensGetGpsTimeRawG(pst_data); -// break; -// } -// -// default: /* Ignore->MISRA-C++:2008 Rule 6-3-1, 6-4-1 */ -// break; -// } -//} +void VehicleSensGetGpsTimeRaw(SENSOR_MSG_GPSDATA_DAT *pst_data, u_int8 uc_get_method) { + switch (uc_get_method) { + case VEHICLESENS_GETMETHOD_GPS: + { + /** To acquire from GPS */ + VehicleSensGetGpsTimeRawG(pst_data); + break; + } + + default: /* Ignore->MISRA-C++:2008 Rule 6-3-1, 6-4-1 */ + break; + } +} |