diff --git a/.vscode/settings.json b/.vscode/settings.json index 8400d7ce2e7f59bc6734ad3f856bfac35bd0d89b..5445861278ef6f8fe6dedd99a58a85aaf5e3b6f9 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 45234301d3b0cba19aac5334a6e23f6ce3b14f49..c66aad6121452ce9a50698f7eefe27089f53051a 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 8d4989420337a553284261b288ae15d9d94983bc..1968132cdfc09a31eb2cfc7df044703698296b64 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 */