From 297aad6ebd8577e826ea738cde25207a61337dc0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 24 Mar 2020 14:32:23 +1100 Subject: Set backlight and RGB pins for AVR onekeys (#8533) * Set backlight and RGB pins for AVR onekeys * Set pin for ADC as well * Define ADC_PIN for F4 blackpills * Use A0 for F4 ADCs * Set ADC pins for F0 and F1 --- keyboards/handwired/onekey/keymaps/adc/config.h | 1 - keyboards/handwired/onekey/keymaps/adc/keymap.c | 4 ---- 2 files changed, 5 deletions(-) delete mode 100644 keyboards/handwired/onekey/keymaps/adc/config.h (limited to 'keyboards/handwired/onekey/keymaps') diff --git a/keyboards/handwired/onekey/keymaps/adc/config.h b/keyboards/handwired/onekey/keymaps/adc/config.h deleted file mode 100644 index 6f70f09bee..0000000000 --- a/keyboards/handwired/onekey/keymaps/adc/config.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/keyboards/handwired/onekey/keymaps/adc/keymap.c b/keyboards/handwired/onekey/keymaps/adc/keymap.c index c5294bbc3d..6626894fac 100644 --- a/keyboards/handwired/onekey/keymaps/adc/keymap.c +++ b/keyboards/handwired/onekey/keymaps/adc/keymap.c @@ -2,10 +2,6 @@ #include "analog.h" #include -#ifndef ADC_PIN -# define ADC_PIN A0 -#endif - enum custom_keycodes { ADC_SAMPLE = SAFE_RANGE, }; -- cgit v1.2.3