Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/wii2usb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-10 17:51:41 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-10 17:51:41 +0300
commit5e1f22faebd26fb925bc3d713f66cad32fb84da6 (patch)
tree6a5449161a77e9afe31f639955b1b029c6b76acb
parenta4a6e7865cf48f2a63971781c6a43faa17f6ae77 (diff)
Slow blinking
-rw-r--r--Core/Src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Src/main.c b/Core/Src/main.c
index 8ed9b03..6fc1d2c 100644
--- a/Core/Src/main.c
+++ b/Core/Src/main.c
@@ -212,7 +212,7 @@ int main(void)
// Blink on error
HAL_GPIO_WritePin(
LED_USB_GPIO_Port, LED_USB_Pin,
- (HAL_GetTick() % 100 < 50) ? GPIO_PIN_SET : GPIO_PIN_RESET);
+ (HAL_GetTick() % 1000 > 100) ? GPIO_PIN_SET : GPIO_PIN_RESET);
break;
}