Change block buffer fan speed to one byte
It's only assigned to variables which are uint8_t Change in memory: Flash: -10 bytes SRAM: -16 bytes
This commit is contained in:
parent
2ced00f21c
commit
876ea6c228
|
|
@ -103,8 +103,7 @@ typedef struct {
|
||||||
uint32_t initial_rate; // The jerk-adjusted step rate at start of block
|
uint32_t initial_rate; // The jerk-adjusted step rate at start of block
|
||||||
uint32_t final_rate; // The minimal rate at exit
|
uint32_t final_rate; // The minimal rate at exit
|
||||||
uint32_t acceleration_steps_per_s2; // acceleration steps/sec^2
|
uint32_t acceleration_steps_per_s2; // acceleration steps/sec^2
|
||||||
//FIXME does it have to be int? Probably uint8_t would be just fine. Need to change in other places as well
|
uint8_t fan_speed; // Print fan speed, ranges from 0 to 255
|
||||||
int fan_speed;
|
|
||||||
volatile char busy;
|
volatile char busy;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue