mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-26 09:29:45 +00:00
These can be const.
This commit is contained in:
parent
bfe6c0a0c1
commit
ce814c9e99
@ -32,7 +32,7 @@ class CRC16 {
|
|||||||
inline void set_value(uint16_t value) { value_ = value; }
|
inline void set_value(uint16_t value) { value_ = value; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint16_t reset_value_, polynomial_;
|
const uint16_t reset_value_, polynomial_;
|
||||||
uint16_t value_;
|
uint16_t value_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user