kopia lustrzana https://github.com/bristol-seds/pico-tracker
Actually fix things from the last merge
rodzic
ef595cc3a9
commit
262a3b29a6
|
@ -121,11 +121,7 @@
|
|||
/**
|
||||
* XOSC
|
||||
*/
|
||||
<<<<<<< HEAD
|
||||
//define USE_XOSC
|
||||
=======
|
||||
//#define USE_XOSC
|
||||
>>>>>>> aprs_dev
|
||||
#define XOSC_FREQUENCY 16369000
|
||||
#define XOSC_GCLK1_DIVIDE 4
|
||||
|
||||
|
|
|
@ -63,15 +63,9 @@ void xosc_init(void) {
|
|||
/* Configure GCLK1 to XOSC */
|
||||
system_gclk_gen_set_config(GCLK_GENERATOR_1,
|
||||
#ifdef USE_XOSC
|
||||
<<<<<<< HEAD
|
||||
GCLK_SOURCE_XOSC, /* Source */
|
||||
#else
|
||||
GCLK_SOURCE_OSC8M, /* Source */
|
||||
=======
|
||||
GCLK_SOURCE_XOSC, /* Source */
|
||||
#else
|
||||
GCLK_SOURCE_OSC8M, /* Source */
|
||||
>>>>>>> aprs_dev
|
||||
#endif
|
||||
false, /* High When Disabled */
|
||||
XOSC_GCLK1_DIVIDE, /* Division Factor */
|
||||
|
|
Ładowanie…
Reference in New Issue