Remove `#ifdef UNITTEST` from MbedCRC.h
Production code should not contain any test-specific checks. Rather than checking `UNITTEST`, MbedCRC.h can simply include in all cases <mstd_type_traits> whose unit test stub exists. Also remove the `UNITTEST` macro from CMake definitions of kvstore unit tests which depend on MbedCRC.h. |
---|
|
drivers/include/drivers/MbedCRC.h |
---|
storage/kvstore/filesystemstore/tests/UNITTESTS/FileSystemStore/CMakeLists.txt |
---|
storage/kvstore/tdbstore/tests/UNITTESTS/TDBStore/CMakeLists.txt |
---|