more inlines
This commit is contained in:
parent
8cb29921a0
commit
e4ab0e5982
3 changed files with 11 additions and 11 deletions
|
|
@ -69,7 +69,7 @@ FORCE_INLINE float degHotend(uint8_t extruder){
|
|||
|
||||
FORCE_INLINE float degTargetHotend0() { return analog2temp(target_raw[TEMPSENSOR_HOTEND_0]);};
|
||||
FORCE_INLINE float degTargetHotend1() { return analog2temp(target_raw[TEMPSENSOR_HOTEND_1]);};
|
||||
inline float degTargetHotend(uint8_t extruder){
|
||||
FORCE_INLINE float degTargetHotend(uint8_t extruder){
|
||||
if(extruder == 0) return analog2temp(target_raw[TEMPSENSOR_HOTEND_0]);
|
||||
if(extruder == 1) return analog2temp(target_raw[TEMPSENSOR_HOTEND_1]);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue