aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/main.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-05-19 14:43:58 +0900
committerjaseg <git@jaseg.net>2019-05-19 14:56:53 +0900
commit3cba41f49f2d91a13addea0004f7c91292d4d3e0 (patch)
treebd54c3c483902c8a25e651a44abb03f1242ebdef /driver_fw/main.c
parentbeaff00ee905a507727195e67ab828a19516047c (diff)
download8seg-3cba41f49f2d91a13addea0004f7c91292d4d3e0.tar.gz
8seg-3cba41f49f2d91a13addea0004f7c91292d4d3e0.tar.bz2
8seg-3cba41f49f2d91a13addea0004f7c91292d4d3e0.zip
Add mounting structure simulation
Diffstat (limited to 'driver_fw/main.c')
-rw-r--r--driver_fw/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_fw/main.c b/driver_fw/main.c
index ef01bfb..30ff633 100644
--- a/driver_fw/main.c
+++ b/driver_fw/main.c
@@ -189,7 +189,7 @@ int main(void) {
TIM3->BDTR = TIM_BDTR_MOE;
/* Enable timer */
TIM3->CR1 |= TIM_CR1_CEN;
- /* Set f=2.5kHz/T=0.4ms */
+ /* Set f=1.25kHz/T=0.8ms */
TIM3->ARR = 800-1;
/* Initialize AC protocol state machine in TIM3 ISR with the AC protocol comma */