joycon: Disable driver for Switch Lite

This commit is contained in:
CTCaer 2020-12-02 00:51:29 +02:00
parent 1ceb380f6f
commit 202540c7f7

View file

@ -24,6 +24,7 @@
#include <power/regulator_5v.h>
#include <soc/bpmp.h>
#include <soc/clock.h>
#include <soc/fuse.h>
#include <soc/gpio.h>
#include <soc/pinmux.h>
#include <soc/uart.h>
@ -815,6 +816,9 @@ void jc_init_hw()
jc_l.uart = UART_C;
jc_r.uart = UART_B;
if (fuse_read_hw_type() == FUSE_NX_HW_TYPE_HOAG)
return;
#ifndef DEBUG_UART_PORT
jc_power_supply(UART_C, true);
jc_power_supply(UART_B, true);