Browse Source

Fix some definition and declaration

keymap_in_eeprom
Kai Ryu 10 years ago
parent
commit
8748b6080f
2 changed files with 9 additions and 0 deletions
  1. 1
    0
      common/keyboard.c
  2. 8
    0
      keyboard/gh60/backlight.c

+ 1
- 0
common/keyboard.c View File

@@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "bootmagic.h"
#include "eeconfig.h"
#include "backlight.h"
#include "breathing_led.h"
#include "keymap_ex.h"
#ifdef MOUSEKEY_ENABLE
# include "mousekey.h"

+ 8
- 0
keyboard/gh60/backlight.c View File

@@ -21,6 +21,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "backlight.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
#else
#define SOFTPWM_TIMER_TOP F_CPU/(256*64)
@@ -149,3 +155,5 @@ ISR(TIMER1_COMPA_vect)
}
}
#endif

#endif