In the ICU driver, the doc say :
icuEnableNotifications
Precondition
The ICU unit must have been activated using icuStart().
In the code, been activated using icuStart() is not sufficient, and a capture has to be started too.
Code: Select all
osalDbgAssert((icup->state == ICU_WAITING) || (icup->state == ICU_ACTIVE),
"invalid state");
Note that ICU_READY is not a valid state.
That implies enabling notification every time a capture is started.
I would have found more natural to enable notification just once after starting the ICU.
Alexandre