Switch over MANUFACTURER and PRODUCT to string literals (#18183)
This commit is contained in:
parent
6a28ceefcd
commit
d983251c10
63 changed files with 113 additions and 928 deletions
|
@ -51,11 +51,11 @@
|
|||
|
||||
#undef PRODUCT
|
||||
#if defined(KEYBOARD_keebio_iris_rev2)
|
||||
# define PRODUCT Drashna Hacked Iris Rev 2
|
||||
# define PRODUCT "Drashna Hacked Iris Rev 2"
|
||||
#elif defined(KEYBOARD_keebio_iris_rev3)
|
||||
# define PRODUCT Drashna Hacked Iris Rev 3
|
||||
# define PRODUCT "Drashna Hacked Iris Rev 3"
|
||||
#elif defined(KEYBOARD_keebio_iris_rev4)
|
||||
# define PRODUCT Drashna Hacked Iris Rev 4
|
||||
# define PRODUCT "Drashna Hacked Iris Rev 4"
|
||||
#endif
|
||||
|
||||
#define SHFT_LED1 6
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#ifdef PRODUCT
|
||||
# undef PRODUCT
|
||||
# define PRODUCT Iris Keyboard - pvinis
|
||||
# define PRODUCT "Iris Keyboard - pvinis"
|
||||
#endif
|
||||
|
||||
// Use I2C or Serial, not both.
|
||||
|
|
|
@ -1,33 +1,13 @@
|
|||
/*
|
||||
Copyright 2017 Danny Nguyen <danny@hexwire.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "config_common.h"
|
||||
#pragma once
|
||||
|
||||
#define USE_SERIAL
|
||||
#define EE_HANDS
|
||||
|
||||
#undef PRODUCT
|
||||
#define PRODUCT Iris Keyboard
|
||||
#define PRODUCT "Iris Keyboard"
|
||||
|
||||
#undef MANUFACTURER
|
||||
#define MANUFACTURER Ian Sterling
|
||||
#define MANUFACTURER "Ian Sterling"
|
||||
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
|
@ -35,5 +15,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue