Eliminate some warnings.
This commit is contained in:
parent
c6a480f8ff
commit
ba95cfe067
@ -298,7 +298,7 @@ static int lpc43_irqinfo(int irq, uintptr_t *regaddr, uint32_t *bit,
|
||||
void up_irqinitialize(void)
|
||||
{
|
||||
uint32_t regaddr;
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
#if defined(CONFIG_DEBUG_FEATURES) && !defined(CONFIG_ARMV7M_USEBASEPRI)
|
||||
uint32_t regval;
|
||||
#endif
|
||||
int num_priority_registers;
|
||||
|
@ -297,7 +297,7 @@ static int lpc54_irqinfo(int irq, uintptr_t *regaddr, uint32_t *bit,
|
||||
void up_irqinitialize(void)
|
||||
{
|
||||
uint32_t regaddr;
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
#if defined(CONFIG_DEBUG_FEATURES) && !defined(CONFIG_ARMV7M_USEBASEPRI)
|
||||
uint32_t regval;
|
||||
#endif
|
||||
int num_priority_registers;
|
||||
|
@ -351,7 +351,7 @@ static int usbhost_poll(FAR struct file *filep, FAR struct pollfd *fds,
|
||||
* device.
|
||||
*/
|
||||
|
||||
static const const struct usbhost_id_s g_hidkbd_id =
|
||||
static const struct usbhost_id_s g_hidkbd_id =
|
||||
{
|
||||
USB_CLASS_HID, /* base */
|
||||
USBHID_SUBCLASS_BOOTIF, /* subclass */
|
||||
|
Loading…
x
Reference in New Issue
Block a user