diff options
author | Danny <nooges@users.noreply.github.com> | 2022-10-26 16:44:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 21:44:06 +0100 |
commit | 42c240f6cfe697744cdf876ace1e7273f43db60d (patch) | |
tree | 3bb2f0ef8553f9ee6f7fd51cee2ad1ffd55c6d8c /keyboards/keebio/sinc/sinc.c | |
parent | 8ea8a4edcb2e33df93bdcfae08b4aeef05d995c6 (diff) |
Add Sinc Rev. 3 (#18846)
* Initial work on adding Sinc Rev. 3
* Add RGB Matrix support
* Add encoder map support
* Set I2C pins
* Update LED locations for right half
* Move USB definitions to info.json
* Update RGB modes
* Replace pin mappings for right half with correct ones
* Move config.h back to rev1/rev2 due to addition of rev3
* Convert initial Rev. 3 config work to be data-driven
* Convert RGB Matrix config to DD format
* More config cleanup
* Use full-duplex PIO
* Add MCU/bootloader settings for Rev. 2
* Change ISO Enter location since it shares location with Backslash
* Adjust build settings to reduce flash/EEPROM usage
Diffstat (limited to 'keyboards/keebio/sinc/sinc.c')
-rw-r--r-- | keyboards/keebio/sinc/sinc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/keebio/sinc/sinc.c b/keyboards/keebio/sinc/sinc.c index f6dff42ebb..9b2f6da512 100644 --- a/keyboards/keebio/sinc/sinc.c +++ b/keyboards/keebio/sinc/sinc.c @@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "sinc.h" #include "split_util.h" +#ifdef BACKLIGHT_ENABLE bool led_update_kb(led_t led_state) { if (!led_update_user(led_state)) { return false; } // Only update if left half @@ -25,6 +26,7 @@ bool led_update_kb(led_t led_state) { } return true; } +#endif void eeconfig_init_kb(void) { #ifdef BACKLIGHT_ENABLE @@ -35,6 +37,7 @@ void eeconfig_init_kb(void) { eeconfig_init_user(); } +#ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { if (!encoder_update_user(index, clockwise)) { return false; } if (index == 0) { @@ -52,3 +55,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { } return true; } +#endif |