Compilation should be ok now

PORTH_TIMING option now included in DEBUG=YES
This commit is contained in:
bsongis
2012-11-01 06:58:22 +00:00
parent c71ee46e5f
commit d02ef1b603
4 changed files with 14 additions and 28 deletions
+3 -5
View File
@@ -2996,9 +2996,8 @@ uint16_t getTmr16KHz()
#if defined (PCBGRUVIN9X)
ISR(TIMER5_COMPA_vect, ISR_NOBLOCK) // mixer interrupt
{
#ifdef PORTH_TIMING
PORTH |= 0x40; // PORTH:6 LOW->HIGH signals start of mixer interrupt
#if defined(DEBUG) && !defined(VOICE)
PORTH |= 0x40; // PORTH:6 LOW->HIGH signals start of mixer interrupt
#endif
cli();
@@ -3033,10 +3032,9 @@ ISR(TIMER5_COMPA_vect, ISR_NOBLOCK) // mixer interrupt
TIMSK5 |= (1<<OCIE5A); //stop reentrance
sei();
#ifdef PORTH_TIMING
#if defined(DEBUG) && !defined(VOICE)
PORTH &= ~0x40; // PORTH:6 HIGH->LOW signals end of mixer interrupt
#endif
}
#endif