mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-25 20:41:52 +01:00
Up version number and default to clock correction factor 0
This commit is contained in:
parent
2e3757bc71
commit
1bf1d2b720
@ -1,8 +1,8 @@
|
|||||||
/**********************************************************************************
|
/**********************************************************************************
|
||||||
Cartridge Reader for Arduino Mega2560
|
Cartridge Reader for Arduino Mega2560
|
||||||
|
|
||||||
Date: 28.10.2020
|
Date: 31.01.2021
|
||||||
Version: 5.5
|
Version: 5.6
|
||||||
|
|
||||||
SD lib: https://github.com/greiman/SdFat
|
SD lib: https://github.com/greiman/SdFat
|
||||||
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
||||||
@ -43,7 +43,7 @@
|
|||||||
**********************************************************************************/
|
**********************************************************************************/
|
||||||
#include <SdFat.h>
|
#include <SdFat.h>
|
||||||
|
|
||||||
char ver[5] = "5.5";
|
char ver[5] = "5.6";
|
||||||
|
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
|
|
||||||
|
@ -610,7 +610,7 @@ void setup_SFM() {
|
|||||||
if (clock_offset > INT32_MIN) {
|
if (clock_offset > INT32_MIN) {
|
||||||
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, clock_offset);
|
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, clock_offset);
|
||||||
} else {
|
} else {
|
||||||
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, -16000);
|
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, 0);
|
||||||
}
|
}
|
||||||
clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLA);
|
clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLA);
|
||||||
clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLB);
|
clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLB);
|
||||||
|
@ -387,7 +387,7 @@ void setup_Snes() {
|
|||||||
if (clock_offset > INT32_MIN) {
|
if (clock_offset > INT32_MIN) {
|
||||||
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, clock_offset);
|
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, clock_offset);
|
||||||
} else {
|
} else {
|
||||||
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, -16000);
|
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set clocks to 4Mhz/1Mhz for better SA-1 unlocking
|
// Set clocks to 4Mhz/1Mhz for better SA-1 unlocking
|
||||||
|
Loading…
Reference in New Issue
Block a user