mtkernel_3/lib/libtm/sysdepend/no_device/tm_com.c | bare source | permlink (0.01 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * micro T-Kernel 3.00.04 4: * 5: * Copyright (C) 2006-2021 by Ken Sakamura. 6: * This software is distributed under the T-License 2.2. 7: *---------------------------------------------------------------------- 8: * 9: * Released by TRON Forum(http://www.tron.org) at 2021/05/17. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: /* 15: * tm_com.c 16: * T-Monitor Communication low-level device driver (No device) 17: * This is a dummy program when there is no communication device. 18: */ 19: 20: #include <tk/typedef.h> 21: #include <sys/sysdef.h> 22: 23: #if USE_TMONITOR 24: #include "../../libtm.h" 25: 26: #if TM_COM_NO_DEV 27: 28: EXPORT void tm_snd_dat( const UB* buf, INT size ) 29: { 30: } 31: 32: 33: EXPORT void tm_rcv_dat( UB* buf, INT size ) 34: { 35: } 36: 37: 38: EXPORT void tm_com_init(void) 39: { 40: } 41: 42: #endif /* TM_COM_NO_DEV */ 43: #endif /* USE_TMONITOR */