From a5d5844237c69a9c9e960a260c430324975c995d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 26 Sep 2022 18:00:08 +0200 Subject: [PATCH] stm8: fix timer definition typo --- stm8s.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stm8s.h b/stm8s.h index 41435e1..232a1b9 100644 --- a/stm8s.h +++ b/stm8s.h @@ -1895,7 +1895,7 @@ typedef union { uint8_t OC1PE:1; /*!< bit 3: Output compare 1 preload enable */ uint8_t OC1M:3; /*!< bit 4..6: Output compare 1 mode */ uint8_t OC1CE:1; /*!< bit 7: Output compare 1 clear enable */ - } outpur_fields; /*!< structure used for bit access */ + } output_fields; /*!< structure used for bit access */ struct { uint8_t CC1S:2; /*!< bit 0..1: Capture/compare 1 selection */ uint8_t IC1PSC:2; /*!< bit 2..3: Input capture 1 prescaler */ @@ -1910,7 +1910,7 @@ typedef union { uint8_t :1; /*!< bit 2: Reserved */ uint8_t OC1PE:1; /*!< bit 3: Output compare 1 preload enable */ uint8_t OC1M:3; /*!< bit 4..6: Output compare 1 mode */ - } outpur_fields; /*!< structure used for bit access */ + } output_fields; /*!< structure used for bit access */ struct { uint8_t CC1S:2; /*!< bit 0..1: Capture/compare 1 selection */ uint8_t IC1PSC:2; /*!< bit 2..3: Input capture 1 prescaler */