/*
 * File: ACT_control_20ms.c
 *
 * Code generated for Simulink model 'P417_SWTR_App'.
 *
 * Model version                  : 1.150
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Thu Dec 15 23:34:40 2022
 *
 * 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_SWTR_App.h"
#include "P417_SWTR_App_private.h"

/* Output and update for function-call system: '<S1>/ACT_control_20ms' */
void P417_SWTR_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: '<S11>/Constant'
   *  Constant: '<S12>/Constant'
   *  Logic: '<S4>/Logical Operator1'
   *  RelationalOperator: '<S11>/Compare'
   *  RelationalOperator: '<S12>/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]
 */
