Merge pull request 'added comparison operator for store_address_t' (#77) from KSat/fsfw:mueller_store_address_compOperator into master
Adds a comparison operator for store_address_t. Small enhancement which should not break anything.
This commit is contained in:
commit
d235bb5c06
@ -48,6 +48,10 @@ union store_address_t {
|
|||||||
* Alternative access to the raw value.
|
* Alternative access to the raw value.
|
||||||
*/
|
*/
|
||||||
uint32_t raw;
|
uint32_t raw;
|
||||||
|
|
||||||
|
bool operator==(const store_address_t& other) const {
|
||||||
|
return raw == other.raw;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user