Using new IO Port

This commit is contained in:
2022-08-31 23:02:40 +02:00
parent 6719250fa7
commit f953044f23
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;
}
};