/*
 * File: Choose_CRC_5ms.c
 *
 * Code generated for Simulink model 'P417_SWTL_App'.
 *
 * Model version                  : 1.148
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Tue Dec 20 16:43:44 2022
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "Choose_CRC_5ms.h"

/* Include model header file for global data */
#include "P417_SWTL_App.h"
#include "P417_SWTL_App_private.h"

/* Output and update for function-call system: '<S1>/Choose_CRC_5ms' */
void P417_SWTL_App_Choose_CRC_5ms(uint8_T rtu_Set_0x305_Send_Req, uint8_T
  rtu_u5ms_CRC, uint8_T rtu_u000ms_CRC)
{
  /* Switch: '<S7>/Switch1' */
  if (rtu_Set_0x305_Send_Req > 0) {
    RTE_Set_CAN_SteerWhlTouchBdCnclChks(rtu_u5ms_CRC);
  } else {
    RTE_Set_CAN_SteerWhlTouchBdCnclChks(rtu_u000ms_CRC);
  }

  /* End of Switch: '<S7>/Switch1' */
}

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
