--- nono/vm/rtc.h 2026/04/29 17:05:43 1.1.1.13 +++ nono/vm/rtc.h 2026/04/29 17:05:51 1.1.1.14 @@ -11,7 +11,6 @@ #pragma once #include "device.h" -#include "event.h" #include class Syncer; @@ -123,7 +122,7 @@ class RTCDevice : public IODevice uint GetLastMday() const; // イベントコールバック - void Callback(Event& ev); + void Callback(Event *); // イベント間隔 const uint period = 31.25_msec; @@ -134,7 +133,7 @@ class RTCDevice : public IODevice Syncer *syncer {}; // RTC クロック入力 - Event event { this }; + Event *event {}; }; static inline RTCDevice *GetRTCDevice() {