This commit is contained in:
cxh 2025-06-05 10:13:07 +08:00
parent 48c29855ca
commit dd9d15f48c

View File

@ -15,8 +15,8 @@ public:
void disconnect(); // 断开连接
// 让外部可以访问最新的 gear 和 speed
int getGear() const { return gear; }
double getSpeed() const { return speed; }
int getGear() const;
double getSpeed() const;
void checkTimeout(std::chrono::seconds timeout);
private: