mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Roughly functioning menu system
Has some functionality issues Still need settings saving & movement detection
This commit is contained in:
@@ -19,7 +19,10 @@ extern volatile uint32_t gHeat_cnt;
|
||||
inline void setIronTimer(uint32_t time) {
|
||||
gHeat_cnt = time;
|
||||
}
|
||||
|
||||
inline uint32_t getIronTimer()
|
||||
{
|
||||
return gHeat_cnt;
|
||||
}
|
||||
|
||||
#define LOW 0
|
||||
#define HIGH 1
|
||||
|
||||
@@ -42,8 +42,11 @@ inline uint32_t millis() {
|
||||
inline uint32_t getLastButtonPress() {
|
||||
return lastKeyPress;
|
||||
}
|
||||
inline uint32_t getLastMovement(){
|
||||
return lastMovement;
|
||||
inline uint32_t resetLastButtonPress() {
|
||||
lastKeyPress = millis();
|
||||
}
|
||||
inline uint32_t getLastMovement() {
|
||||
return lastMovement;
|
||||
}
|
||||
|
||||
inline uint16_t getButtons() {
|
||||
|
||||
Reference in New Issue
Block a user