Voice corrections for stock / gruvin9x board
Minor corrections for curves Changes in Function Switches to allow a duration there. It allows again a +1/-1 step in Safety functions
This commit is contained in:
@@ -50,6 +50,10 @@ void putVoiceQueueUpper( uint8_t value )
|
||||
|
||||
void pushPrompt( uint8_t value )
|
||||
{
|
||||
#ifdef SIMU
|
||||
printf("playFile(\"%04d.ad4\")\n", value); fflush(stdout);
|
||||
#endif
|
||||
|
||||
struct t_voice *vptr;
|
||||
vptr = voiceaddress();
|
||||
|
||||
|
||||
+6
-2
@@ -48,8 +48,8 @@
|
||||
#define V_WAIT_BUSY_OFF 4
|
||||
#define V_WAIT_BUSY_DELAY 5
|
||||
|
||||
#define PROMPT_SYSTEM_BASE 300
|
||||
#define PROMPT_CUSTOM_BASE 400
|
||||
#define PROMPT_SYSTEM_BASE 170
|
||||
#define PROMPT_CUSTOM_BASE 200
|
||||
|
||||
struct t_voice
|
||||
{
|
||||
@@ -74,7 +74,11 @@ extern struct t_voice Voice ;
|
||||
|
||||
inline bool isPlaying()
|
||||
{
|
||||
#if defined(SIMU)
|
||||
return false;
|
||||
#else
|
||||
return Voice.VoiceState != V_IDLE;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user