Using new IO Port

This commit is contained in:
Jaby
2022-08-31 23:02:40 +02:00
parent f056972b15
commit bcb6191431
3 changed files with 9 additions and 16 deletions

View File

@@ -100,11 +100,11 @@ public:
return this->value;
}
constexpr IOPort<T>& operator=(T value) {
constexpr void operator=(T value) {
this->value = value;
}
constexpr volatile IOPort<T>& operator=(T value) volatile {
constexpr void operator=(T value) volatile {
this->value = value;
}
};