diff options
| -rw-r--r-- | firmware/mpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index ff545f0..72c6f1a 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -2195,14 +2195,14 @@ static void start_recording(void) val |= 1; mas_writemem(MAS_BANK_D0, 0x7f1, &val, 1); DEBUGF("mas_writemem(MAS_BANK_D0, 0x7f1, %x)\n", val); - + /* Wait until the DSP has accepted the settings */ do { mas_readmem(MAS_BANK_D0, 0x7f1, &val,1); } while(val & 1); - sleep(20); + sleep(HZ/100); } is_recording = true; |