diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-01 00:29:03 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-01 00:29:03 -0700 |
commit | 1557b0049e0b8a7995c54cde8b7a19cce49445a6 (patch) | |
tree | 3bbe0d3cef6a42af2718992d5642e597a431fd89 | |
parent | c983b2d670dfe6bace2c6d776e34eaafa25db9bb (diff) |
teleterra: hack to leave amp on all the time
-rw-r--r-- | src/ao_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_audio.c b/src/ao_audio.c index 5d8fdfb5..6b16089d 100644 --- a/src/ao_audio.c +++ b/src/ao_audio.c @@ -651,7 +651,7 @@ ao_audio_send(__xdata uint8_t *samples, uint16_t nsamples) __reentrant /* * Turn off the audio amp */ - P2_4 = 0; + P2_4 = 1; #endif ao_mutex_put(&ao_audio_mutex); } @@ -678,7 +678,7 @@ ao_audio_init(void) PERCFG = (PERCFG & ~PERCFG_T4CFG_ALT_MASK) | PERCFG_T4CFG_ALT_2; #if AUDIO_STANDBY_ON_P2_4 - P2_4 = 0; + P2_4 = 1; P2SEL &= ~P2SEL_SELP2_4_PERIPHERAL; P2DIR |= (1 << 4); #endif |