--- nono/host/hostcom.h 2026/04/29 17:05:30 1.1.1.3 +++ nono/host/hostcom.h 2026/04/29 17:05:39 1.1.1.5 @@ -12,7 +12,6 @@ #include "hostdevice.h" #include "comdriver.h" -#include "monitor.h" #include "spscqueue.h" class HostCOMDevice : public HostDevice @@ -38,7 +37,7 @@ class HostCOMDevice : public HostDevice ~HostCOMDevice() override; void SetLogLevel(int loglevel_) override; - bool Init() override; + bool Create2() override; void Dispatch(int udata) override; bool Tx(uint32 data); @@ -61,5 +60,5 @@ class HostCOMDevice : public HostDevice // 統計情報 struct stat_t stat {}; - Monitor monitor { this }; + Monitor *monitor {}; };