Make PCB args are now SKY9X and GRUVIN9X instead of ARM and V4

[sky9x] Temperature calibration
[sky9x] RTC modifications
This commit is contained in:
bsongis
2012-10-02 10:07:19 +00:00
parent 194c9b7978
commit 81c6bb1ba7
119 changed files with 474 additions and 744 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ void audioQueue::heartbeat()
SPEAKER_OFF;
}
else {
#if defined(PCBV4)
#if defined(PCBGRUVIN9X)
if (toneFreq) {
OCR0A = (5000 / toneFreq); // sticking with old values approx 20(abs. min) to 90, 60 being the default tone(?).
SPEAKER_ON;
@@ -84,7 +84,7 @@ void audioQueue::heartbeat()
}
else {
if (tone2TimeLeft > 0) {
#if defined(PCBV4)
#if defined(PCBGRUVIN9X)
if (tone2Freq) {
OCR0A = (5000 / tone2Freq); // sticking with old values approx 20(abs. min) to 90, 60 being the default tone(?).
SPEAKER_ON;
-4
View File
@@ -31,10 +31,6 @@
*
*/
#if defined(PCBARM)
#include "ersky9x/sound.h"
#endif
#if defined(PCBSTD)
#define SPEAKER_ON BUZZER_ON
#define SPEAKER_OFF toneFreq=0; BUZZER_OFF