From 277699dffa0eae19e3d5e5d71f8d8ac4d4f95c0c Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <alberto.nidasio@skywarder.eu>
Date: Thu, 20 Apr 2023 01:10:04 +0200
Subject: [PATCH] [InternalADC] Fixed spelling mistakes

---
 .vscode/settings.json                  | 1 +
 src/shared/drivers/adc/InternalADC.cpp | 4 ++--
 src/shared/drivers/adc/InternalADC.h   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.vscode/settings.json b/.vscode/settings.json
index 8400d7ce2..544586127 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -320,6 +320,7 @@
                 "upcounter",
                 "USART",
                 "vbat",
+                "VBATE",
                 "velnord",
                 "vout",
                 "vsense",
diff --git a/src/shared/drivers/adc/InternalADC.cpp b/src/shared/drivers/adc/InternalADC.cpp
index 45234301d..c66aad612 100644
--- a/src/shared/drivers/adc/InternalADC.cpp
+++ b/src/shared/drivers/adc/InternalADC.cpp
@@ -36,7 +36,7 @@
 #define TEMP30 30
 #define TEMP110 110
 #else
-#warning This microcontroller does not have a calibrated temperature sensor or is not currently supported by this driver
+#warning This micro controller does not have a calibrated temperature sensor or is not currently supported by this driver
 #define WITHOUT_CALIBRATION
 #endif
 
@@ -227,7 +227,7 @@ inline void InternalADC::setChannelSampleTime(Channel channel,
 
 float InternalADC::readChannel(Channel channel)
 {
-    // Slect channel
+    // Select channel
     adc->SQR3 = channel;
 
     // Start conversion
diff --git a/src/shared/drivers/adc/InternalADC.h b/src/shared/drivers/adc/InternalADC.h
index 8d4989420..1968132cd 100644
--- a/src/shared/drivers/adc/InternalADC.h
+++ b/src/shared/drivers/adc/InternalADC.h
@@ -38,7 +38,7 @@ namespace Boardcore
  * The driver uses basic ADC features, that is the single conversion mode.
  * A previous version of the driver featured injected and regular channels with
  * also DMA. Since ADC conversion time is very low, the driver has been
- * simplified to provide better usability and simplier implementation.
+ * simplified to provide better usability and simpler implementation.
  *
  * @warning This driver has been tested on f205, f407, f429, f767 and f769
  */
-- 
GitLab