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

master
QMK Bot 2022-01-29 06:43:15 +00:00
commit aff9eafea5
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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);
}