From 4359a8becd5bfa11904f81c83329411c66c72c2c Mon Sep 17 00:00:00 2001 From: Pieter P Date: Fri, 26 Feb 2021 13:47:07 +0100 Subject: [PATCH] PluggableUSB: make getProductVersion pure virtual arduino/ArduinoCore-mbed#130 --- cores/arduino/USB/PluggableUSBDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/arduino/USB/PluggableUSBDevice.h b/cores/arduino/USB/PluggableUSBDevice.h index 561ed74c0..a92bb9693 100644 --- a/cores/arduino/USB/PluggableUSBDevice.h +++ b/cores/arduino/USB/PluggableUSBDevice.h @@ -58,7 +58,7 @@ class PluggableUSBModule { virtual void callback_set_interface(uint16_t interface, uint8_t alternate); virtual void init(EndpointResolver& resolver); virtual const uint8_t *string_iinterface_desc(); - virtual uint8_t getProductVersion(); + virtual uint8_t getProductVersion() = 0; uint8_t pluggedInterface;