summaryrefslogtreecommitdiffstats
path: root/app/project.h
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-05-04 12:37:04 +0100
committerfishsoupisgood <github@madingley.org>2019-05-04 12:39:08 +0100
commit74e577ac110513669a6d677842ceca4c5b1252ca (patch)
treecfe45c037717a740fa2fa6b1c99aa66814047055 /app/project.h
parent1b0a5f886412f0a292ec2b198e65760e3a1f45a1 (diff)
downloadclock-74e577ac110513669a6d677842ceca4c5b1252ca.tar.gz
clock-74e577ac110513669a6d677842ceca4c5b1252ca.tar.bz2
clock-74e577ac110513669a6d677842ceca4c5b1252ca.zip
cut #1
Diffstat (limited to 'app/project.h')
-rw-r--r--app/project.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/project.h b/app/project.h
index 869cb3d..47eecb3 100644
--- a/app/project.h
+++ b/app/project.h
@@ -14,6 +14,7 @@
#include <libopencm3/stm32/spi.h>
#include <libopencm3/stm32/adc.h>
#include <libopencm3/stm32/exti.h>
+#include <libopencm3/stm32/pwr.h>
#include <libopencm3/ethernet/mac_stm32fxx7.h>
#include <libopencm3/ethernet/phy.h>
#include <libopencm3/stm32/syscfg.h>
@@ -23,6 +24,7 @@
#include <libopencm3/cm3/scs.h>
#include <libopencm3/cm3/scb.h>
+
#include <lwip/init.h>
#include <lwip/sys.h>
#include <lwip/udp.h>
@@ -43,7 +45,8 @@
#include "prototypes.h"
-#define HZ 167999973
+#define HZ 10000000
+//#define HZ 167999973
//#define HZ 168000000
//#define HZ 167968615
//#define HZ 165925490