From d531407d300bbd55ab33bcec139002b05fae0429 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 24 Jun 2024 13:34:55 +0200 Subject: [PATCH] removed superfluous !! --- mmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmu.cpp b/mmu.cpp index dca919c..c47ea63 100644 --- a/mmu.cpp +++ b/mmu.cpp @@ -140,7 +140,7 @@ bool mmu::get_use_data_space(const int run_mode) const { constexpr const int di_ena_mask[4] = { 4, 2, 0, 1 }; - return !!(MMR3 & di_ena_mask[run_mode]); + return MMR3 & di_ena_mask[run_mode]; } void mmu::clearMMR1()