mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
Cosmetic changes
This commit is contained in:
parent
bb53fbdff4
commit
6f3cb90c05
4 changed files with 7 additions and 2 deletions
|
@ -484,6 +484,7 @@ static int rtc_setup(void)
|
|||
|
||||
rtc_wprlock();
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -526,6 +527,7 @@ static int rtc_resume(void)
|
|||
|
||||
putreg32((1 << 17), STM32_EXTI_PR);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -424,7 +424,7 @@ int usbhost_enumerate(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr,
|
|||
|
||||
/* Get class identification information from the device descriptor. Most
|
||||
* devices set this to USB_CLASS_PER_INTERFACE (zero) and provide the
|
||||
* identification informatino in the interface descriptor(s). That allows
|
||||
* identification information in the interface descriptor(s). That allows
|
||||
* a device to support multiple, different classes.
|
||||
*/
|
||||
|
||||
|
|
|
@ -563,7 +563,7 @@ struct usbhost_registry_s
|
|||
*/
|
||||
|
||||
FAR struct usbhost_class_s *(*create)(FAR struct usbhost_driver_s *drvr,
|
||||
FAR const struct usbhost_id_s *id);
|
||||
FAR const struct usbhost_id_s *id);
|
||||
|
||||
/* This information uniquely identifies the USB host class implementation that
|
||||
* goes with a specific USB device.
|
||||
|
|
|
@ -211,7 +211,10 @@ void mm_givesemaphore(FAR struct mm_heap_s *heap)
|
|||
{
|
||||
/* Nope, this is the last reference I have */
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
msemdbg("PID=%d giving\n", my_pid);
|
||||
#endif
|
||||
|
||||
heap->mm_holder = -1;
|
||||
heap->mm_counts_held = 0;
|
||||
ASSERT(sem_post(&heap->mm_semaphore) == 0);
|
||||
|
|
Loading…
Reference in a new issue