1
0
Fork 0

Fixed brightness control; Reduced number of brightness levels to 4.

This commit is contained in:
Ante Vukorepa 2015-07-25 17:11:31 +02:00
parent b8c8ecbcd6
commit 1f52d60ef1
2 changed files with 20 additions and 11 deletions

View file

@ -35,8 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MATRIX_HAS_GHOST
/* number of backlight levels */
/* NOTE: this is the max value of 0..BACKLIGHT_LEVELS so really 16 levels. */
#define BACKLIGHT_LEVELS 15
#define BACKLIGHT_LEVELS 3
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
@ -51,18 +50,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
#define NO_DEBUG
/* disable print */
//#define NO_PRINT
#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER