Update FSFW #24
@ -232,9 +232,11 @@ ReturnValue_t MgmLIS3MDLHandler::scanForReply(const uint8_t *start,
|
|||||||
if(start[1] != MGMLIS3MDL::DEVICE_ID) {
|
if(start[1] != MGMLIS3MDL::DEVICE_ID) {
|
||||||
#if FSFW_VERBOSE_LEVEL >= 1
|
#if FSFW_VERBOSE_LEVEL >= 1
|
||||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||||
sif::warning << "MGMHandlerLIS3MDL::scanForReply: Invalid registers!" << std::endl;
|
sif::warning << "MGMHandlerLIS3MDL::scanForReply: "
|
||||||
|
"Device identification failed!" << std::endl;
|
||||||
#else
|
#else
|
||||||
sif::printWarning("MGMHandlerLIS3MDL::scanForReply: Invalid registers!\n");
|
sif::printWarning("MGMHandlerLIS3MDL::scanForReply: "
|
||||||
|
"Device identification failed!\n");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
return DeviceHandlerIF::INVALID_DATA;
|
return DeviceHandlerIF::INVALID_DATA;
|
||||||
|
Loading…
Reference in New Issue
Block a user