~ruther/qmk_firmware

1ca636819f081a6427ab7a0896302b068349a6dd — yiancar 3 years ago 1af65a2
[Keyboard] Fix Nasu Indicators (#15878)

Co-authored-by: yiancar <yiancar@gmail.com>
2 files changed, 0 insertions(+), 8 deletions(-)

M keyboards/nasu/config.h
M keyboards/nasu/nasu.c
M keyboards/nasu/config.h => keyboards/nasu/config.h +0 -1
@@ 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

M keyboards/nasu/nasu.c => keyboards/nasu/nasu.c +0 -7
@@ 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);
}