diff options
author | Piotr Esden-Tempski <piotr@esden.net> | 2013-06-13 04:44:07 +0400 |
---|---|---|
committer | Piotr Esden-Tempski <piotr@esden.net> | 2013-06-13 05:22:56 +0400 |
commit | 7df63fcae0efa62f60f726b3878f1c93506647c3 (patch) | |
tree | 70e762d48192ce740856c976da5c35087213eb9a /include/libopencm3/stm32/common/usart_common_f24.h | |
parent | 48e0f3326b8f23787adb41b6c2192d77f2ef5e08 (diff) |
First coarse run to fix coding style in locm3.
Added --terse and --mailback options to the make stylecheck target. It
also does continue even if it enounters a possible error.
We decided on two exceptions from the linux kernel coding standard:
- Empty wait while loops may end with ; on the same line.
- All blocks after while, if, for have to be in brackets even if they
only contain one statement. Otherwise it is easy to introduce an
error.
Checkpatch needs to be adapted to reflect those changes.
Diffstat (limited to 'include/libopencm3/stm32/common/usart_common_f24.h')
-rw-r--r-- | include/libopencm3/stm32/common/usart_common_f24.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libopencm3/stm32/common/usart_common_f24.h b/include/libopencm3/stm32/common/usart_common_f24.h index 6800230b..5637a522 100644 --- a/include/libopencm3/stm32/common/usart_common_f24.h +++ b/include/libopencm3/stm32/common/usart_common_f24.h @@ -24,7 +24,7 @@ * along with this library. If not, see <http://www.gnu.org/licenses/>. */ -/* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY, BUT ONLY VIA USART.H +/* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY, BUT ONLY VIA USART.H The order of header inclusion is important. usart.h includes the device specific memorymap.h header before including this header file.*/ @@ -76,7 +76,7 @@ specific memorymap.h header before including this header file.*/ #endif /** @cond */ #else -#warning "usart_common_f24.h should not be included explicitly, only via usart.h" +#warning "usart_common_f24.h should not be included directly, only via usart.h" #endif /** @endcond */ |