Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CAN: Fix semaphore unlock in the report tx handler
Moved the semaphore unlock statement outside the `#endif` directive in `can.c`. This ensures proper unlocking of the semaphore for both cases, whether `CONFIG_THINGSET_CAN_PACKETIZED_REPORTS_TX` is enabled or not. Resolves the issue of warning and failure in TX CAN communication when the configuration is disabled.
- Loading branch information