mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
getTipResistanceX10()
This commit is contained in:
@@ -16,6 +16,9 @@ extern "C" {
|
||||
// Can be used to check any details for the power system
|
||||
void power_check();
|
||||
|
||||
// Return the tip resistance in x10 ohms (8.5 -> 85)
|
||||
uint8_t getTipResistanceX10();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -17,3 +17,5 @@ void power_check() {
|
||||
}
|
||||
|
||||
bool getIsPoweredByDCIN() { return false; }
|
||||
|
||||
uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
|
||||
@@ -288,3 +288,5 @@ uint64_t getDeviceID() {
|
||||
//
|
||||
return HAL_GetUIDw0() | ((uint64_t)HAL_GetUIDw1() << 32);
|
||||
}
|
||||
|
||||
uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
|
||||
@@ -93,3 +93,5 @@ void setStatusLED(const enum StatusLED state) {}
|
||||
|
||||
uint8_t preStartChecks() { return 0; }
|
||||
uint64_t getDeviceID() { return dbg_id_get(); }
|
||||
|
||||
uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
|
||||
Reference in New Issue
Block a user