Switch SX1509 clock config to use a macro rather than a magic #

pull/18/head
Jesse Vincent 10 years ago
parent 1bb4caa6db
commit c098e7cc32

@ -330,7 +330,7 @@ public:
// - ClkX = fOSC / (2^(RegMisc[6:4] -1)) // - ClkX = fOSC / (2^(RegMisc[6:4] -1))
// - This value defaults to 1. // - This value defaults to 1.
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void configClock(byte oscSource = 2, byte oscPinFunction = 0, void configClock(byte oscSource = INTERNAL_CLOCK, byte oscPinFunction = 0,
byte oscFreqOut = 0, byte oscDivider = 1); byte oscFreqOut = 0, byte oscDivider = 1);
}; };

Loading…
Cancel
Save