/*
 * File: ACT_control_20ms.c
 *
 * Code generated for Simulink model 'P417_SWTL_App'.
 *
 * Model version                  : 1.156
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Sun Jun 25 21:44:44 2023
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "ACT_control_20ms.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>/ACT_control_20ms' */
void P417_SWTL_App_ACT_control_20ms(uint8_T rtu_Set_0x305_Send_Req, uint8_T
  rtu_Set_0x300_Send_Req)
{
  /* DataTypeConversion: '<S4>/Data Type Conversion' incorporates:
   *  Constant: '<S15>/Constant'
   *  Constant: '<S16>/Constant'
   *  Logic: '<S4>/Logical Operator1'
   *  RelationalOperator: '<S15>/Compare'
   *  RelationalOperator: '<S16>/Compare'
   */
  RTE_Set_ACT_Vibration((uint8_T)((rtu_Set_0x305_Send_Req > 0) ||
    (rtu_Set_0x300_Send_Req > 0)));
}

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