More style fixes.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12803 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2019-05-18 10:49:57 +00:00
parent 4f7cf535be
commit c8bbce5f31
3 changed files with 101 additions and 91 deletions

View File

@ -32,6 +32,10 @@
*/ */
#define STM32F4xx_MCUCONF #define STM32F4xx_MCUCONF
#define STM32F405_MCUCONF
#define STM32F415_MCUCONF
#define STM32F407_MCUCONF
#define STM32F417_MCUCONF
/* /*
* HAL driver system settings. * HAL driver system settings.

View File

@ -113,6 +113,12 @@ foreach my $line (@c_source) {
style "detected // comment"; style "detected // comment";
} }
#****************************************************************************
# Check on commas.
if ($line =~ /,\S/) {
style "detected comma not followed by space";
}
#**************************************************************************** #****************************************************************************
# Check on loose semicolons. # Check on loose semicolons.
if ($line =~ /\S\s;/) { if ($line =~ /\S\s;/) {