summaryrefslogtreecommitdiff
path: root/stm32cubemx/Inc/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32cubemx/Inc/main.h')
-rw-r--r--stm32cubemx/Inc/main.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/stm32cubemx/Inc/main.h b/stm32cubemx/Inc/main.h
index 6b905ce..6e20349 100644
--- a/stm32cubemx/Inc/main.h
+++ b/stm32cubemx/Inc/main.h
@@ -40,9 +40,20 @@
/* USER CODE END Includes */
/* Private define ------------------------------------------------------------*/
+#define RX_TIMER_PRESCALER 72000000 / 2000
/* USER CODE BEGIN Private defines */
+#ifdef __cplusplus
+extern "C" {
+#endif
+void main_pre_init();
+void main_post_init();
+void main_loop();
+
+#ifdef __cplusplus
+}
+#endif
/* USER CODE END Private defines */
/**