SOMO-14D work for the gruvin9x board
This commit is contained in:
@@ -150,9 +150,14 @@ ISR(TIMER4_COMPA_vect) //Every 0.5ms
|
||||
return BUSY;
|
||||
}
|
||||
|
||||
void somoPushPrompt(uint16_t prompt)
|
||||
void pushPrompt(uint16_t prompt)
|
||||
{
|
||||
somo14playlist[somo14WIdx] = prompt;
|
||||
somo14WIdx = (somo14WIdx + 1) % QUEUE_LENGTH;
|
||||
TIMSK4 |= (1<<OCIE4A);
|
||||
}
|
||||
|
||||
bool isPlaying()
|
||||
{
|
||||
return TIMSK4 & (1<<OCIE4A);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user