summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Daniel <cd@maintech.de>2012-06-05 21:28:58 +0200
committerChristian Daniel <cd@maintech.de>2012-06-05 21:28:58 +0200
commit323af344fad23e29c7bfe032034f86ce94461d09 (patch)
tree0566f4d8917fb29fe1e492079bc9d03cdd2f87f5
parent2dd491881ebbc953196285d7bd394eb09f4ac382 (diff)
set TWI/I2C speed to 400kHz - all devices on the OsmoSDR support this
-rw-r--r--firmware/osmosdr-project/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/osmosdr-project/main.c b/firmware/osmosdr-project/main.c
index 7142c14..c1e357c 100644
--- a/firmware/osmosdr-project/main.c
+++ b/firmware/osmosdr-project/main.c
@@ -58,7 +58,7 @@
#define SSC_MCK 49152000
// TWI clock
-#define TWI_CLOCK 100000
+#define TWI_CLOCK 400000
// PMC define
#define AT91C_CKGR_PLLR AT91C_CKGR_PLLAR