1
0
Fork 0
forked from nuttx/nuttx-update

Cosmetic changes

This commit is contained in:
Gregory Nutt 2014-05-28 14:09:58 -06:00
parent bb53fbdff4
commit 6f3cb90c05
4 changed files with 7 additions and 2 deletions

View file

@ -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;
}

View file

@ -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.
*/

View file

@ -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.

View file

@ -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);