Hi, I'm new to ChibiOS and still trying to figure out how to use it.
I'm currently updating an out-dated library for nrf24l01. It uses chEvtInit() to initialize an event_source_t defined inside a struct. But this macro doesn't exist in the current version of ChibiOS any more and I only see the macro EVENTSOURCE_DECL() to declare a static event_source_t variable. I was wondering how I should initialize this member variable properly and I didn't find any helpful information so far.
Thanks in advance.
-rxduty
right way to initialize an event_source_t variable in a struct?
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: right way to initialize an event_source_t variable in a struct?
Sorry, I missed it when I was checking the manual. Thank you very much.
-rxduty
-rxduty
Who is online
Users browsing this forum: Bing [Bot] and 20 guests