To prevent compiler warnings/errors we have to wrap the definition of
UNUSED with an ifndef. So there are no problems if this is already
defined in the project
Signed-off-by: Peter Tönz <peter.tonz@husqvarnagroup.com>
Rationale:
- MW libraries subject to click-thru have been already removed from this repo, but not the projects using them.
- Building these projects, whether manually or automatically via some ACI tool would yield errors.
- Particularly with daily (or nightly) builds in the frame of a CI/CD strategy, such errors would pollute the logs uselessly.
Note: If needed, the removed items can be found in the full firmware package on st.com. Please refer to the README.md file for further details.