23 lines
397 B
C++
23 lines
397 B
C++
/*
|
||
* CrcUnit.cpp
|
||
*
|
||
* Created on: 21 мая 2023 г.
|
||
* Author: titov
|
||
*/
|
||
|
||
#include "CrcUnit.hh"
|
||
|
||
struct DefaultCrcUnit : public common::crc::ICrcUnit {
|
||
|
||
CrcCalcualtor instance( common::crc::CrcType crc_type ) {
|
||
return nullptr;
|
||
}
|
||
|
||
std::size_t getMaxDataSize() {
|
||
return 0;
|
||
}
|
||
|
||
} default_crc_unit;
|
||
|
||
common::crc::ICrcUnit * peripheral::crc = &default_crc_unit;
|