#if 1 /* if no time functions are available */ /* simple clock: one tick per call */ #define CLOCK() simp_clock2() /* number of clock ticks before timeout, set to ~2 seconds */ #define TIMEOUT_PERIOD (200000) /* assumes 10 usec per CLOCK() call */ /* number of clock ticks to wait while DSP's reset, set to > 750 ms */ #define DSP_RES_PERIOD (100000) /* assumes 10 usec per CLOCK() call */ #endif