HSEM HAL strange behavior
Hi,
I'm playing around HSEM module and i noticed strange behavior. Why calling:
HAL_HSEM_FastTake(HSEM_ID_0);or
HAL_HSEM_Take(HSEM_ID_0, 0);lock all semaphores at once instead of just locking single semaphore specified by a macro using 0 as processid?
Then calling release will unlock only the one specified macro and we end up with 31 semaphores locked unintentionally.