Port GPU IO
This commit is contained in:
@@ -28,11 +28,11 @@ namespace JabyEngine {
|
||||
static uint8_t current_id;
|
||||
|
||||
static void enable() {
|
||||
GPU_IO::GP1 = GPU_IO::Command::SetDisplayState(GPU_IO::DisplayState::On);
|
||||
GPU_IO::GP1.write(GPU_IO::Command::SetDisplayState(GPU_IO::DisplayState::On));
|
||||
}
|
||||
|
||||
static void disable() {
|
||||
GPU_IO::GP1 = GPU_IO::Command::SetDisplayState(GPU_IO::DisplayState::Off);
|
||||
GPU_IO::GP1.write(GPU_IO::Command::SetDisplayState(GPU_IO::DisplayState::Off));
|
||||
}
|
||||
|
||||
static void set_offset(uint16_t x, uint16_t y);
|
||||
|
Reference in New Issue
Block a user