diff options
| author | yiancar <yiangosyiangou@cytanet.com.cy> | 2022-01-29 06:42:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-28 22:42:39 -0800 |
| commit | 1ca636819f081a6427ab7a0896302b068349a6dd (patch) | |
| tree | 4f501028c658ae40b0be181d42a92674c5a8d428 | |
| parent | 1af65a22487927f667e8d193dd893a9c8d9cdf38 (diff) | |
| download | qmk_firmware-1ca636819f081a6427ab7a0896302b068349a6dd.tar.gz qmk_firmware-1ca636819f081a6427ab7a0896302b068349a6dd.zip | |
[Keyboard] Fix Nasu Indicators (#15878)
Co-authored-by: yiancar <yiancar@gmail.com>
| -rw-r--r-- | keyboards/nasu/config.h | 1 | ||||
| -rw-r--r-- | keyboards/nasu/nasu.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/keyboards/nasu/config.h b/keyboards/nasu/config.h index e68df3719..15ed75d5c 100644 --- a/keyboards/nasu/config.h +++ b/keyboards/nasu/config.h | |||
| @@ -46,7 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 46 | #define LED_CAPS_LOCK_PIN B1 | 46 | #define LED_CAPS_LOCK_PIN B1 |
| 47 | #define LED_NUM_LOCK_PIN B0 | 47 | #define LED_NUM_LOCK_PIN B0 |
| 48 | #define LED_SCROLL_LOCK_PIN A7 | 48 | #define LED_SCROLL_LOCK_PIN A7 |
| 49 | #define LED_PIN_ON_STATE 0 | ||
| 50 | 49 | ||
| 51 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 50 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 52 | //#define MATRIX_HAS_GHOST | 51 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/nasu/nasu.c b/keyboards/nasu/nasu.c index b5e41409f..e7ae6a369 100644 --- a/keyboards/nasu/nasu.c +++ b/keyboards/nasu/nasu.c | |||
| @@ -14,10 +14,3 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "nasu.h" | 16 | #include "nasu.h" |
| 17 | |||
| 18 | void led_init_ports(void) { | ||
| 19 | // Set our LED pins as open drain outputs | ||
| 20 | palSetLineMode(LED_CAPS_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN); | ||
| 21 | palSetLineMode(LED_NUM_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN); | ||
| 22 | palSetLineMode(LED_SCROLL_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN); | ||
| 23 | } | ||
