mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion] Clean some dummy files
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
#include <ion/backlight.h>
|
||||
|
||||
uint8_t Ion::Backlight::brightness() {
|
||||
namespace Ion {
|
||||
namespace Backlight {
|
||||
|
||||
uint8_t brightness() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Ion::Backlight::setBrightness(uint8_t b) {}
|
||||
void setBrightness(uint8_t b) {
|
||||
}
|
||||
|
||||
void Ion::Backlight::init() {}
|
||||
void init() {
|
||||
}
|
||||
|
||||
bool Ion::Backlight::isInitialized() { return true; }
|
||||
bool isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Ion::Backlight::shutdown() {}
|
||||
void shutdown() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,22 @@
|
||||
#include <ion/display.h>
|
||||
|
||||
void Ion::Display::POSTPushMulticolor(int rootNumberTiles, int tileSize) {
|
||||
namespace Ion {
|
||||
namespace Display {
|
||||
|
||||
void POSTPushMulticolor(int rootNumberTiles, int tileSize) {
|
||||
}
|
||||
|
||||
int Ion::Display::displayUniformTilingSize10(KDColor c) {
|
||||
int displayUniformTilingSize10(KDColor c) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Ion::Display::displayColoredTilingSize10() {
|
||||
int displayColoredTilingSize10() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool Ion::Display::waitForVBlank() {
|
||||
bool waitForVBlank() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <ion.h>
|
||||
#include <assert.h>
|
||||
|
||||
const char * Ion::fccId() {
|
||||
return "NA";
|
||||
|
||||
@@ -7,9 +7,11 @@ KDColor getColor() {
|
||||
return KDColorBlack;
|
||||
}
|
||||
|
||||
void setColor(KDColor c) {}
|
||||
void setColor(KDColor c) {
|
||||
}
|
||||
|
||||
void setBlinking(uint16_t period, float dutyCycle) {}
|
||||
void setBlinking(uint16_t period, float dutyCycle) {
|
||||
}
|
||||
|
||||
KDColor updateColorWithPlugAndCharge() {
|
||||
return KDColorBlack;
|
||||
|
||||
13
ion/src/shared/dummy/power.cpp
Normal file
13
ion/src/shared/dummy/power.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <ion/power.h>
|
||||
|
||||
namespace Ion {
|
||||
namespace Power {
|
||||
|
||||
void suspend(bool checkIfOnOffKeyReleased) {
|
||||
}
|
||||
|
||||
void standby() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,21 +1,27 @@
|
||||
#include <ion/usb.h>
|
||||
|
||||
bool Ion::USB::isPlugged() {
|
||||
namespace Ion {
|
||||
namespace USB {
|
||||
|
||||
bool isPlugged() {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Ion::USB::isEnumerated() {
|
||||
bool isEnumerated() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void Ion::USB::clearEnumerationInterrupt() {
|
||||
void clearEnumerationInterrupt() {
|
||||
}
|
||||
|
||||
void Ion::USB::DFU(bool) {
|
||||
void DFU(bool) {
|
||||
}
|
||||
|
||||
void Ion::USB::enable() {
|
||||
void enable() {
|
||||
}
|
||||
|
||||
void Ion::USB::disable() {
|
||||
void disable() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#include <ion.h>
|
||||
|
||||
void Ion::Power::suspend(bool checkIfOnOffKeyReleased) {
|
||||
}
|
||||
|
||||
void Ion::Power::standby() {
|
||||
}
|
||||
Reference in New Issue
Block a user