mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-01-23 04:16:02 +00:00
Start adding comparison operations to EightBit classes
This commit is contained in:
@@ -2,3 +2,7 @@
|
||||
#include "../inc/Device.h"
|
||||
|
||||
DEFINE_PIN_LEVEL_CHANGERS(POWER, Device);
|
||||
|
||||
bool EightBit::Device::operator==(const EightBit::Device& rhs) const {
|
||||
return POWER() == rhs.POWER();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user