summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-01 23:23:19 -0700
committerKeith Packard <keithp@keithp.com>2010-11-01 23:23:19 -0700
commit84311abb703178f61cb90359deb0cbf3fa9c101f (patch)
tree0071bf7e43b7e4395f590fa3a98447c4d9daf65f
parent8c1672560df866a70fe6fa69ce5ba65d835433dc (diff)
Revert "teleterra: hack to leave amp on all the time"
Don't leave the amp on anymore. This reverts commit 1557b0049e0b8a7995c54cde8b7a19cce49445a6.
-rw-r--r--src/ao_audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_audio.c b/src/ao_audio.c
index 32a29a27..fa04175b 100644
--- a/src/ao_audio.c
+++ b/src/ao_audio.c
@@ -359,7 +359,7 @@ ao_audio_send(__xdata uint8_t *samples, uint16_t nsamples) __reentrant
/*
* Turn off the audio amp
*/
- P2_4 = 1;
+ P2_4 = 0;
#endif
ao_mutex_put(&ao_audio_mutex);
}
@@ -386,7 +386,7 @@ ao_audio_init(void)
PERCFG = (PERCFG & ~PERCFG_T4CFG_ALT_MASK) | PERCFG_T4CFG_ALT_2;
#if AUDIO_STANDBY_ON_P2_4
- P2_4 = 1;
+ P2_4 = 0;
P2SEL &= ~P2SEL_SELP2_4_PERIPHERAL;
P2DIR |= (1 << 4);
#endif