aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-12-30 13:42:00 +0100
committerjaseg <git@jaseg.de>2023-12-30 13:42:00 +0100
commitab1e29d663ba09ad99a34808d3717a4f6b8ac417 (patch)
tree2382190a7f6ade40a268e62d39f4a4054ed0346a
parent2dcae5db6fdcc5c604a7bd39d5c0c4b58bbd1a5b (diff)
download8seg-main.tar.gz
8seg-main.tar.bz2
8seg-main.zip
Lsta updates from 37C3HEADmain
-rw-r--r--driver_fw/.gdbinit6
-rw-r--r--driver_fw/src/main.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/driver_fw/.gdbinit b/driver_fw/.gdbinit
index a4181e4..0e81bd4 100644
--- a/driver_fw/.gdbinit
+++ b/driver_fw/.gdbinit
@@ -1,12 +1,12 @@
# blackmagic-1
-target extended-remote 192.168.27.252:2022
+# target extended-remote 192.168.27.252:2022
# blackmagic-2
-# target extended-remote 192.168.27.114:2022
+# target extended-remote 193.168.27.114:2022
# blackmagic-3
-# target extended-remote 192.168.27.207:2022
+target extended-remote 192.168.27.207:2022
# blackmagic-4
# target extended-remote 192.168.27.153:2022
diff --git a/driver_fw/src/main.c b/driver_fw/src/main.c
index 7227a4a..db0f1b0 100644
--- a/driver_fw/src/main.c
+++ b/driver_fw/src/main.c
@@ -181,7 +181,7 @@ int main(void) {
GPIOC->OTYPER = (1<<1) | (1<<2);
GPIOC->AFR[1] = AFRH(10, 2);
GPIOC->OSPEEDR = (3<<10);
- GPIOC->BRR = (1<<1) | (1<<2); /* Disable fans */
+ GPIOC->BRR = (1<<1) | (1<<2); /* Turn down fans (most fans don't turn off at 0% PWM) */
/* GPIOD:
* D0-D6: (testpoint)