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
|
0, 16, 128, 255
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inline void backlight_set_raw(uint8_t raw);
|
||||||
|
|
||||||
/* Backlight pin configuration
|
/* Backlight pin configuration
|
||||||
* PWM: PC6(OC3A)
|
* PWM: PC6(OC3A)
|
||||||
*/
|
*/
|
||||||
|
@ -43,10 +43,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
/* number of backlight levels */
|
/* number of backlight levels */
|
||||||
#ifdef BREATHING_LED_ENABLE
|
#ifdef BREATHING_LED_ENABLE
|
||||||
|
#define BREATHING_LED_TIMER1
|
||||||
#define BACKLIGHT_LEVELS 6
|
#define BACKLIGHT_LEVELS 6
|
||||||
#else
|
#else
|
||||||
#define BACKLIGHT_LEVELS 3
|
#define BACKLIGHT_LEVELS 3
|
||||||
#endif
|
#endif
|
||||||
|
#define BACKLIGHT_CUSTOM
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
Reference in New Issue
Block a user