|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2021 nono project ! 4: // Licensed under nono-license.txt ! 5: // ! 6: ! 7: // ! 8: // シリアルポートの None ドライバ ! 9: // ! 10: ! 11: #include "comdriver_none.h" ! 12: ! 13: // コンストラクタ ! 14: COMDriverNone::COMDriverNone(HostDevice *hostdev_) ! 15: : inherited(hostdev_, "None") ! 16: { ! 17: } ! 18: ! 19: // デストラクタ ! 20: COMDriverNone::~COMDriverNone() ! 21: { ! 22: } ! 23: ! 24: // 1バイト書き出し ! 25: void ! 26: COMDriverNone::Write(uint32 data) ! 27: { ! 28: } ! 29: ! 30: // 1バイト読み込み ! 31: int ! 32: COMDriverNone::Read() ! 33: { ! 34: return NODATA; ! 35: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.