Remove Port namespace and clean up

This commit is contained in:
Jaby
2022-09-11 15:51:09 +02:00
parent 303ffbccc9
commit e97c805f5a
8 changed files with 390 additions and 403 deletions

View File

@@ -5,11 +5,11 @@
namespace GPU {
namespace Display {
static void enable() {
Port::GP1.write(Port::Command::GP1::SetDisplayState(Port::DisplayState::On));
GP1.write(Command::GP1::SetDisplayState(DisplayState::On));
}
static void disable() {
Port::GP1.write(Port::Command::GP1::SetDisplayState(Port::DisplayState::Off));
GP1.write(Command::GP1::SetDisplayState(DisplayState::Off));
}
}
}