Fix some definition and declaration
This commit is contained in:
parent
f2fd5127e1
commit
8748b6080f
@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "bootmagic.h"
|
#include "bootmagic.h"
|
||||||
#include "eeconfig.h"
|
#include "eeconfig.h"
|
||||||
#include "backlight.h"
|
#include "backlight.h"
|
||||||
|
#include "breathing_led.h"
|
||||||
#include "keymap_ex.h"
|
#include "keymap_ex.h"
|
||||||
#ifdef MOUSEKEY_ENABLE
|
#ifdef MOUSEKEY_ENABLE
|
||||||
# include "mousekey.h"
|
# include "mousekey.h"
|
||||||
|
@ -21,6 +21,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "backlight.h"
|
#include "backlight.h"
|
||||||
#include "breathing_led.h"
|
#include "breathing_led.h"
|
||||||
|
|
||||||
|
#ifdef BACKLIGHT_ENABLE
|
||||||
|
|
||||||
|
void backlight_enable(void);
|
||||||
|
void backlight_disable(void);
|
||||||
|
inline void backlight_set_raw(uint8_t raw);
|
||||||
|
|
||||||
#ifdef GH60_REV_CHN
|
#ifdef GH60_REV_CHN
|
||||||
#else
|
#else
|
||||||
#define SOFTPWM_TIMER_TOP F_CPU/(256*64)
|
#define SOFTPWM_TIMER_TOP F_CPU/(256*64)
|
||||||
@ -149,3 +155,5 @@ ISR(TIMER1_COMPA_vect)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user