git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10459 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-08-22 15:15:19 +00:00
parent 491c9ac55a
commit 5a8f647d15
2 changed files with 3 additions and 1 deletions

View File

@ -102,7 +102,7 @@ typedef void (*evhandler_t)(eventid_t id);
* source that is part of a bigger structure.
* @param name the name of the event source variable
*/
#define _EVENTSOURCE_DATA(name) {(void *)(&name)}
#define _EVENTSOURCE_DATA(name) {(event_listener_t *)(&name)}
/**
* @brief Static event source initializer.

View File

@ -111,6 +111,8 @@
17.6.1 and 16.1.9).
- RT: Fixed misplaced assertion in semaphores code (bug #865)(backported to
17.6.1 and 16.1.9).
- RT: Fixed event cast cleanup for compilation warnings (bug #864)(backported
to 17.6.1 and 16.1.9).
- HAL: Fixed STM32 USBv1 fails the state check when USB_USE_WAIT is TRUE
(bug #863)(backported to 17.6.1 and 16.1.9).
- HAL: Fixed incorrect OTG stepping in STM32F412 registry (bug #861)