mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] repare blackbox
Change-Id: I1229ad45e29db6dac5c296b87acd5663c5564cea
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
TOOLCHAIN ?= afl
|
||||
USE_LIBA ?= 1
|
||||
USE_LIBA ?= 0
|
||||
EXE = bin
|
||||
|
||||
@@ -10,9 +10,31 @@ void Ion::Display::pushRectUniform(KDRect r, KDColor c) {
|
||||
void Ion::Display::pullRect(KDRect r, KDColor * pixels) {
|
||||
}
|
||||
|
||||
bool Ion::Keyboard::keyDown(Ion::Keyboard::Key key) {
|
||||
bool Ion::USB::isPlugged() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void Ion::msleep(long ms) {
|
||||
}
|
||||
|
||||
const char * Ion::serialNumber() {
|
||||
return "123";
|
||||
}
|
||||
|
||||
void Ion::LED::setColor(KDColor) {
|
||||
}
|
||||
|
||||
bool Ion::Battery::isCharging() {
|
||||
return false;
|
||||
}
|
||||
|
||||
Ion::Battery::Charge Ion::Battery::level() {
|
||||
return Charge::FULL;
|
||||
}
|
||||
|
||||
float Ion::Battery::voltage() {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void Ion::Display::waitForVBlank() {
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
Ion::Events::Event Ion::Events::getEvent(int * timeout) {
|
||||
int c = getchar();
|
||||
msleep(100);
|
||||
if (c == EOF) {
|
||||
exit(0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user