From 7617d25501b3e9e26d18e481d1786920578a9d64 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sun, 29 Jan 2012 18:34:04 +0000 Subject: [PATCH] Dead code removed --- src/open9x.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/open9x.h b/src/open9x.h index 8cd67907f..55198fda0 100644 --- a/src/open9x.h +++ b/src/open9x.h @@ -653,21 +653,6 @@ inline void _beep(uint8_t b) { g_beepCnt=b; } -extern uint8_t toneFreq; -#if defined (PCBV4) -inline void _beepSpkr(uint8_t d, uint8_t f) -{ - g_beepCnt=d; - OCR0A = (5000 / f); // sticking with old values approx 20(abs. min) to 90, 60 being the default tone(?). -} -#elif defined (AUDIO) -inline void _beepSpkr(uint8_t d, uint8_t f) // TODO needed? -{ - g_beepCnt=d; - toneFreq=f; -} -#endif - // MM/SD card Disk IO Support #if defined (PCBV4) #include "rtc.h"