From 3b8413a3d84eb2a3ee7e139727b59c48073f59fa Mon Sep 17 00:00:00 2001 From: Donatien Garnier Date: Fri, 17 Aug 2018 19:16:02 +0100 Subject: [PATCH] Fix virtualness of NFCControllerDriver::Delegate method --- features/nfc/nfc/NFCControllerDriver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/nfc/nfc/NFCControllerDriver.h b/features/nfc/nfc/NFCControllerDriver.h index a1aecec522..86cecbd853 100644 --- a/features/nfc/nfc/NFCControllerDriver.h +++ b/features/nfc/nfc/NFCControllerDriver.h @@ -49,7 +49,7 @@ namespace nfc { /** * Called when the controller asserts the interrupt line */ - void on_hw_interrupt(); + virtual void on_hw_interrupt() {} }; /**