/* ----------------------- Start implementation -----------------------------*/ BOOL xMBPortTimersInit( USHORT usTim1Timerout50us ) { ulTimeOut = usTim1Timerout50us / 20U; if( ulTimeOut == 0 ) ulTimeOut = 1; return xMBPortSerialSetTimeout( ulTimeOut ); }
bool xMBPortTimersInit(uint16_t usTim1Timerout50us) { ulTimeOut = usTim1Timerout50us / 20U; if (ulTimeOut == 0) { ulTimeOut = 1; } return xMBPortSerialSetTimeout(ulTimeOut); }