From e5b1d6c6ede08f2d3246e237a4c868656a71d347 Mon Sep 17 00:00:00 2001 From: David Crocker Date: Tue, 10 Dec 2019 11:39:47 +0000 Subject: Started adding noexcept specifiers Also pin out9 on Duet3 is also called laser and vfd --- src/Hardware/I2C.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Hardware/I2C.cpp') diff --git a/src/Hardware/I2C.cpp b/src/Hardware/I2C.cpp index 46bb34a9..c9369f0b 100644 --- a/src/Hardware/I2C.cpp +++ b/src/Hardware/I2C.cpp @@ -34,7 +34,7 @@ void I2C::Init() static TaskHandle_t twiTask = nullptr; // the task that is waiting for a TWI command to complete -extern "C" void WIRE_ISR_HANDLER() +extern "C" void WIRE_ISR_HANDLER() noexcept { WIRE_INTERFACE->TWI_IDR = 0xFFFFFFFF; if (twiTask != nullptr) -- cgit v1.2.3