瀏覽代碼

[Keyboard] Fix Nasu Indicators (#15878)

Co-authored-by: yiancar <yiancar@gmail.com>
yiancar 3 年之前
父節點
當前提交
1ca636819f
共有 2 個文件被更改,包括 0 次插入8 次删除
  1. 0 1
      keyboards/nasu/config.h
  2. 0 7
      keyboards/nasu/nasu.c

+ 0 - 1
keyboards/nasu/config.h

@@ -46,7 +46,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define LED_CAPS_LOCK_PIN B1
 #define LED_NUM_LOCK_PIN B0
 #define LED_SCROLL_LOCK_PIN A7
-#define LED_PIN_ON_STATE 0
 
 /* define if matrix has ghost (lacks anti-ghosting diodes) */
 //#define MATRIX_HAS_GHOST

+ 0 - 7
keyboards/nasu/nasu.c

@@ -14,10 +14,3 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #include "nasu.h"
-
-void led_init_ports(void) {
-    // Set our LED pins as open drain outputs
-    palSetLineMode(LED_CAPS_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN);
-    palSetLineMode(LED_NUM_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN);
-    palSetLineMode(LED_SCROLL_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN);
-}