diff --git a/selfdrive/locationd/ublox_msg.cc b/selfdrive/locationd/ublox_msg.cc index 154200c088..e0463d8e17 100644 --- a/selfdrive/locationd/ublox_msg.cc +++ b/selfdrive/locationd/ublox_msg.cc @@ -59,7 +59,7 @@ class EphemerisData { int i_0 = (GET_FIELD_S(subframes[3][2+2], 8, 6) << 24) | GET_FIELD_U( subframes[3][2+3], 24, 6); int c_rc = GET_FIELD_S(subframes[3][2+4], 16, 14); - int w = (GET_FIELD_S(subframes[3][2+4], 8, 6) << 24) | GET_FIELD_U(subframes[3][5], 24, 6); + int w = (GET_FIELD_S(subframes[3][2+4], 8, 6) << 24) | GET_FIELD_U(subframes[3][2+5], 24, 6); int omega_dot = GET_FIELD_S(subframes[3][2+6], 24, 6); int idot = GET_FIELD_S(subframes[3][2+7], 14, 8); diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 89312f384f..f5c80e086e 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -1a3391dcabbcef563062010bda7ac89793528004 \ No newline at end of file +abdaa764cc8aec4e30522e951667c5473970cfe1 \ No newline at end of file