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:
Steffen Gaisser 2020-05-25 14:54:29 +02:00
commit d235bb5c06

View File

@ -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;
}
}; };
/** /**