resUpdateGoGPSUpBodyListWithHeaderPeakOutdoor function

void resUpdateGoGPSUpBodyListWithHeaderPeakOutdoor(
  1. Pointer<PERIPHERAL_GOGPS_HEADER_V2> pGogpsHeader,
  2. Pointer<PERIPHERAL_GOGPS_BODY_PEAK_OUTDOOR> pGoGPSBody,
  3. int size,
  4. int bHeaderUpdated,
)

Implementation

void resUpdateGoGPSUpBodyListWithHeaderPeakOutdoor(
    Pointer<PERIPHERAL_GOGPS_HEADER_V2> pGogpsHeader,
    Pointer<PERIPHERAL_GOGPS_BODY_PEAK_OUTDOOR> pGoGPSBody,
    int size,
    int bHeaderUpdated) {
  // CLCmdGogpsHeaderV2.subject.add(CLCmdGogpsHeaderV2.from(pGogpsHeader.ref));

  for (int i = 0; i < size; i ++) {
    CLCmdGogpsBodyPeakOutdoor.subject.add(CLCmdGogpsBodyPeakOutdoor.from(pGoGPSBody[i]));
  }
  slog('resUpdateGoGPSUpBodyListWithHeaderPeakOutdoor: entered');
}