From f1634a4dd76f0ff7759a9a96de9894fcbaaa24e6 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sat, 10 Aug 2019 13:39:04 +0200 Subject: [PATCH] Improved formatting --- io.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/io.hpp b/io.hpp index 0849d3d..f0e5a2b 100644 --- a/io.hpp +++ b/io.hpp @@ -377,7 +377,6 @@ class Port { static inline void write(const uint8_t value) FORCE_INLINE { detail::reg_ptr_t portRegPtr = detail::getRegPtr(); - *portRegPtr = value; } @@ -385,11 +384,9 @@ class Port { { #ifdef HARDWARE_TOGGLE detail::reg_ptr_t pinRegPtr = detail::getRegPtr(); - *pinRegPtr = 0xFF; #else detail::reg_ptr_t portRegPtr = detail::getRegPtr(); - *portRegPtr = ~(*portRegPtr); #endif }