]> git.earman.xyz Git - sensor-watch.git/commitdiff
set LED's drive strength to high
authorJoey Castillo <joeycastillo@utexas.edu>
Wed, 28 May 2025 00:39:56 +0000 (20:39 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Wed, 28 May 2025 00:40:06 +0000 (20:40 -0400)
watch-library/hardware/watch/watch_tcc.c

index 8e96bba54663c529a3d2e4055bef25fe318351d7..b5d50f9453bf1a921545927640d8054321860a8f 100644 (file)
@@ -222,13 +222,16 @@ void _watch_enable_tcc(void) {
 
     // enable LED PWM pins (the LED driver assumes if the TCC is on, the pins are enabled)
     HAL_GPIO_RED_pmuxen(HAL_GPIO_PMUX_TCC_ALT);
+    HAL_GPIO_RED_drvstr(1);
     HAL_GPIO_RED_out();
 #ifdef WATCH_GREEN_TCC_CHANNEL
     HAL_GPIO_GREEN_pmuxen(HAL_GPIO_PMUX_TCC_ALT);
+    HAL_GPIO_GREEN_drvstr(1);
     HAL_GPIO_GREEN_out();
 #endif
 #ifdef WATCH_BLUE_TCC_CHANNEL
     HAL_GPIO_BLUE_pmuxen(HAL_GPIO_PMUX_TCC_ALT);
+    HAL_GPIO_BLUE_drvstr(1);
     HAL_GPIO_BLUE_out();
 #endif