1
0
Fork 0

Switch over MANUFACTURER and PRODUCT to string literals (#18183)

This commit is contained in:
Ryan 2022-08-29 02:59:40 +10:00 committed by GitHub
parent 6a28ceefcd
commit d983251c10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 113 additions and 928 deletions

View file

@ -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

View file

@ -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.

View file

@ -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