Added option to increase the FAN PWM frequency.
This commit is contained in:
parent
6a5a34e0ff
commit
1874cb71a6
4 changed files with 82 additions and 1 deletions
|
|
@ -170,6 +170,10 @@ bool IsStopped();
|
|||
void enquecommand(const char *cmd); //put an ascii command at the end of the current buffer.
|
||||
void prepare_arc_move(char isclockwise);
|
||||
|
||||
#ifdef FAST_PWM_FAN
|
||||
void setPwmFrequency(uint8_t pin, int val);
|
||||
#endif
|
||||
|
||||
#ifndef CRITICAL_SECTION_START
|
||||
#define CRITICAL_SECTION_START unsigned char _sreg = SREG; cli();
|
||||
#define CRITICAL_SECTION_END SREG = _sreg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue