getVersion() doesn't need to be a public USB method.

This commit is contained in:
David Given
2024-09-28 23:44:33 +02:00
parent d394b21920
commit 6b28f36b97
5 changed files with 14 additions and 61 deletions

View File

@@ -17,7 +17,6 @@ class USB
public:
virtual ~USB();
virtual int getVersion() = 0;
virtual void recalibrate()
{
seek(0);
@@ -48,10 +47,6 @@ extern USB* createGreaseweazleUsb(
extern USB* createApplesauceUsb(
const std::string& serialPort, const ApplesauceProto& config);
static inline int usbGetVersion()
{
return getUsb().getVersion();
}
static inline void usbRecalibrate()
{
getUsb().recalibrate();