@@ -134,7 +134,7 @@ void analog_init(void) | |||
{ | |||
uint32_t num; | |||
#if defined(__MK20DX128__) || defined(__MK20DX256__) | |||
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__) | |||
VREF_TRM = 0x60; | |||
VREF_SC = 0xE1; // enable 1.2 volt ref | |||
#endif |