pic32mz does not have ANSELJ register on port K

This commit is contained in:
Brennan Ashton 2021-02-21 14:21:17 -08:00 committed by Xiang Xiao
parent 79e8a52d86
commit 7a9e9b770f

View File

@ -395,10 +395,6 @@ static inline void pic32mz_adcdisable(void)
putreg32(0xffffffff, PIC32MZ_IOPORTJ_K1BASE + putreg32(0xffffffff, PIC32MZ_IOPORTJ_K1BASE +
PIC32MZ_IOPORT_ANSELCLR_OFFSET); PIC32MZ_IOPORT_ANSELCLR_OFFSET);
#endif #endif
#if CHIP_NPORTS > 9
putreg32(0xffffffff, PIC32MZ_IOPORTK_K1BASE +
PIC32MZ_IOPORT_ANSELCLR_OFFSET);
#endif
} }
/**************************************************************************** /****************************************************************************