[stock] Volume mod: volume was not set at Tx startup
This commit is contained in:
+2
-1
@@ -119,7 +119,8 @@ void t_voice::voice_process(void)
|
||||
// delay to allow input to settle
|
||||
asm(" nop");
|
||||
asm(" nop");
|
||||
asm(" nop") ;
|
||||
asm(" nop");
|
||||
asm(" nop");
|
||||
#endif
|
||||
busy = PINB & 0x80;
|
||||
DDRB |= (1 << OUT_B_LIGHT); // Change to output
|
||||
|
||||
@@ -73,6 +73,8 @@ extern void pushPrompt( uint8_t value );
|
||||
extern struct t_voice *voiceaddress( void ) ;
|
||||
extern struct t_voice Voice ;
|
||||
|
||||
#define SET_VOLUME(v) pushCustomPrompt((v) | 0xF0)
|
||||
|
||||
inline bool isPlaying()
|
||||
{
|
||||
#if defined(SIMU)
|
||||
|
||||
Reference in New Issue
Block a user