Skip to content

Commit

Permalink
removed superfluous !!
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Jun 24, 2024
1 parent e782dc4 commit d531407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d531407

Please sign in to comment.