projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c983b2d
)
teleterra: hack to leave amp on all the time
author
Keith Packard
<keithp@keithp.com>
Mon, 1 Nov 2010 07:29:03 +0000
(
00:29
-0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 1 Nov 2010 07:29:03 +0000
(
00:29
-0700)
src/ao_audio.c
patch
|
blob
|
history
diff --git
a/src/ao_audio.c
b/src/ao_audio.c
index 5d8fdfb5caf357ff253d8d76922a7e5bf13b658c..6b16089d664c63e501cb427ed08d0346e439ce1e 100644
(file)
--- 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