From f5d794e4ca664d150a6c0247c69bc4b902dcb02a Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 2 Oct 2012 10:26:35 +0000 Subject: [PATCH] Companion9x compilation --- src/sky9x/sound_driver.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sky9x/sound_driver.cpp b/src/sky9x/sound_driver.cpp index f563bc944..26f781188 100644 --- a/src/sky9x/sound_driver.cpp +++ b/src/sky9x/sound_driver.cpp @@ -382,6 +382,7 @@ void appgo_coprocessor() __enable_irq() ; } +#if !defined(SIMU) extern "C" void TWI0_IRQHandler() { if ( TwiOperation == TWI_READ_VOL ) @@ -458,5 +459,6 @@ extern "C" void TWI0_IRQHandler() TwiOperation = TWI_NONE ; i2c_check_for_request() ; } +#endif