Change breathing led to use timer1
This commit is contained in:
parent
2826892d44
commit
33b95c5199
@ -25,6 +25,8 @@ static const uint8_t backlight_table[] PROGMEM = {
|
||||
0, 16, 128, 255
|
||||
};
|
||||
|
||||
inline void backlight_set_raw(uint8_t raw);
|
||||
|
||||
/* Backlight pin configuration
|
||||
* PWM: PC6(OC3A)
|
||||
*/
|
||||
|
@ -43,10 +43,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/* number of backlight levels */
|
||||
#ifdef BREATHING_LED_ENABLE
|
||||
#define BREATHING_LED_TIMER1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#else
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#endif
|
||||
#define BACKLIGHT_CUSTOM
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
Reference in New Issue
Block a user