forked from PAWPAW-Mirror/lib_xua
AUDIO_PLL_LOCK_DELAY renamed MCLK_STABILITY_DELAY and used in ep0 SF change request.
This commit is contained in:
@@ -210,8 +210,8 @@
|
||||
#endif
|
||||
|
||||
/* The number of clock ticks to wait for the audio PLL to lock */
|
||||
#ifndef AUDIO_PLL_LOCK_DELAY
|
||||
#define AUDIO_PLL_LOCK_DELAY (40000000)
|
||||
#ifndef MCLK_STABILITY_DELAY
|
||||
#define MCLK_STABILITY_DELAY (40000000)
|
||||
#endif
|
||||
|
||||
/* Vendor String */
|
||||
|
||||
@@ -318,7 +318,7 @@ int AudioClassRequests_2(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, c
|
||||
timer t;
|
||||
unsigned time;
|
||||
t :> time;
|
||||
t when timerafter(time+5000000+40000000):> void;
|
||||
t when timerafter(time+5000000+MCLK_STABILITY_DELAY):> void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1049,7 +1049,7 @@ int AudioEndpointRequests_1(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp
|
||||
timer t;
|
||||
unsigned time;
|
||||
t :> time;
|
||||
t when timerafter(time+50000000+40000000):> void;
|
||||
t when timerafter(time+50000000+MCLK_STABILTY_DELAY):> void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user