mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
added operator with void args, just returning CRC
This commit is contained in:
parent
2c9248f6f8
commit
b3bede5cea
1 changed files with 4 additions and 0 deletions
4
crc.hh
4
crc.hh
|
|
@ -33,6 +33,10 @@ public:
|
|||
{
|
||||
crc = v;
|
||||
}
|
||||
TYPE operator()()
|
||||
{
|
||||
return crc;
|
||||
}
|
||||
TYPE operator()(bool data)
|
||||
{
|
||||
TYPE tmp = crc ^ data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue