From 7591e6411e997e5cebd9062cd33630c2b427b08b Mon Sep 17 00:00:00 2001 From: "gruvin@gmail.com" Date: Fri, 7 Dec 2012 01:05:26 +0000 Subject: [PATCH] G9X V4 board: Conditional code for Cam's new SOMO initialisation to prevent crash for folaks without SOMO-14 installed. --- src/board_gruvin9x.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/board_gruvin9x.cpp b/src/board_gruvin9x.cpp index 97100bc86..2fc28b8d7 100644 --- a/src/board_gruvin9x.cpp +++ b/src/board_gruvin9x.cpp @@ -103,12 +103,14 @@ inline void board_init() #endif /***************************************************/ +#if defined (VOICE) /* * SOMO set-up (V4 board only) */ OCR4A = 0x1F4; //2ms TCCR4B = (1 << WGM42) | (3<