23 lines
393 B
C++
23 lines
393 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;
|