mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-15 16:15:11 -05:00
Fix red and a couple other things I somehow missed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19378 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8cfbd3604f
commit
f2f394793c
4 changed files with 4 additions and 4 deletions
|
|
@ -115,7 +115,7 @@ static bool pcmbuf_flush;
|
||||||
static int codec_thread_priority = PRIORITY_PLAYBACK;
|
static int codec_thread_priority = PRIORITY_PLAYBACK;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern uintptr_t codec_thread_id;
|
extern unsigned int codec_thread_id;
|
||||||
|
|
||||||
/* Helpful macros for use in conditionals this assumes some of the above
|
/* Helpful macros for use in conditionals this assumes some of the above
|
||||||
* static variable names */
|
* static variable names */
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
|
||||||
extern uintptr_t codec_thread_id;
|
extern unsigned int codec_thread_id;
|
||||||
|
|
||||||
/** General recording state **/
|
/** General recording state **/
|
||||||
static bool is_recording; /* We are recording */
|
static bool is_recording; /* We are recording */
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@ void mc13783_init(void)
|
||||||
#ifdef PMIC_DRIVER_CLOSE
|
#ifdef PMIC_DRIVER_CLOSE
|
||||||
void mc13783_close(void)
|
void mc13783_close(void)
|
||||||
{
|
{
|
||||||
unsigned int thread_id = mc13783_thread_p;
|
unsigned int thread_id = mc13783_thread_id;
|
||||||
|
|
||||||
if (thread_id == 0)
|
if (thread_id == 0)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -539,7 +539,7 @@ void usb_start_monitoring(void)
|
||||||
#ifdef USB_DRIVER_CLOSE
|
#ifdef USB_DRIVER_CLOSE
|
||||||
void usb_close(void)
|
void usb_close(void)
|
||||||
{
|
{
|
||||||
uintptr_t thread = usb_thread_entry;
|
unsigned int thread = usb_thread_entry;
|
||||||
usb_thread_entry = 0;
|
usb_thread_entry = 0;
|
||||||
|
|
||||||
if (thread == 0)
|
if (thread == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue