aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/meira/config.h
diff options
context:
space:
mode:
authorCole Markham <github@themarkhams.us>2018-04-18 23:57:24 -0500
committerJack Humbert <jack.humb@gmail.com>2018-04-19 00:57:24 -0400
commitb4bdebab9a48546160465d64000724a07617054e (patch)
tree418021491d61b5c6039383d7bcdcd7d449d4dbe7 /keyboards/meira/config.h
parent3d3c093173f6e9a838671bd7484b3a11dc564c1a (diff)
downloadfirmware-b4bdebab9a48546160465d64000724a07617054e.tar.gz
firmware-b4bdebab9a48546160465d64000724a07617054e.tar.bz2
firmware-b4bdebab9a48546160465d64000724a07617054e.zip
Meira updates for bluetooth and audio (#2731)
* Add audio output * Update Miera to fix bluetooth issues, bootloader definition. * Added keymap with audio example * Cleanup Meira audio code
Diffstat (limited to 'keyboards/meira/config.h')
-rw-r--r--keyboards/meira/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/meira/config.h b/keyboards/meira/config.h
index b9bdd426a..5e9dd6837 100644
--- a/keyboards/meira/config.h
+++ b/keyboards/meira/config.h
@@ -35,11 +35,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION CUSTOM_MATRIX
+#ifdef BACKLIGHT_ENABLE
#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255}
+#endif
+#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define RGBLIGHT_TIMER
#define RGBLED_NUM 15 // Number of LEDs
+#endif
#endif