summaryrefslogtreecommitdiff
path: root/bsp/radio-controller-1/Inc/main.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-05-31 23:51:56 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-05-31 23:51:56 +0200
commitdcfb42c972f904482514ef194003018a02c8c260 (patch)
tree4bd9b0867bdcc53c0ba7d13d22921e66cb0738f6 /bsp/radio-controller-1/Inc/main.h
parentedaad76b66e47d945d7aa352d13de5ab8251317a (diff)
downloadradio-controller-dcfb42c972f904482514ef194003018a02c8c260.tar.gz
radio-controller-dcfb42c972f904482514ef194003018a02c8c260.tar.bz2
radio-controller-dcfb42c972f904482514ef194003018a02c8c260.tar.xz
radio-controller-dcfb42c972f904482514ef194003018a02c8c260.zip
o Lots of work, IC not really working. Almost there.
Diffstat (limited to 'bsp/radio-controller-1/Inc/main.h')
-rw-r--r--bsp/radio-controller-1/Inc/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/radio-controller-1/Inc/main.h b/bsp/radio-controller-1/Inc/main.h
index be96275..89bca50 100644
--- a/bsp/radio-controller-1/Inc/main.h
+++ b/bsp/radio-controller-1/Inc/main.h
@@ -49,7 +49,7 @@
/* USER CODE END Includes */
/* Private define ------------------------------------------------------------*/
-#define RX_TIMER_PRESCALER (7200 - 1)
+#define RADIO_RX_TIMER_PRESCALER (72000000/200000 - 1)
#define RADIO_RX_Pin GPIO_PIN_8
#define RADIO_RX_GPIO_Port GPIOA