Merge remote-tracking branch 'origin/master' into develop

fix_template_bootmagic
QMK Bot 3 years ago
commit aff9eafea5
  1. 1
      keyboards/nasu/config.h
  2. 7
      keyboards/nasu/nasu.c

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

@ -14,10 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "nasu.h" #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);
}

Loading…
Cancel
Save