--- nono/vm/mk48t02.h 2026/04/29 17:05:33 1.1.1.16 +++ nono/vm/mk48t02.h 2026/04/29 17:06:01 1.1.1.17 @@ -177,7 +177,7 @@ class MK48T02Device : public RTCDevice // カレンダを NVRAM にストア void Store(const MK48T02Clock::calendar& cal); - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); // ファイル std::string filename {}; @@ -196,6 +196,6 @@ class MK48T02Device : public RTCDevice Monitor *monitor {}; }; -static inline MK48T02Device *GetMK48T02Device() { +inline MK48T02Device *GetMK48T02Device() { return Object::GetObject(OBJ_RTC); }