[Stylecheck] Code cleaned to current stylecheck script
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
210a17ec97
commit
efc2489d2c
@@ -250,7 +250,8 @@
|
||||
/*
|
||||
* System Control Space (SCS) => Data Watchpoint and Trace (DWT).
|
||||
* See "ARMv7-M Architecture Reference Manual"
|
||||
* (https://github.com/libopencm3/libopencm3-archive/blob/master/arm/ARMv7-M_ARM.pdf)
|
||||
* (https://github.com/libopencm3/libopencm3-archive/blob/master/arm/
|
||||
* ARMv7-M_ARM.pdf)
|
||||
* The DWT is an optional debug unit that provides watchpoints, data tracing,
|
||||
* and system profiling for the processor.
|
||||
*/
|
||||
|
||||
@@ -50,6 +50,7 @@ specific memorymap.h header before including this header file.*/
|
||||
|
||||
/** @cond */
|
||||
#else
|
||||
#warning "syscfg_common_l1f234.h should not be included explicitly, only via syscfg.h"
|
||||
#warning "syscfg_common_l1f234.h should not be included explicitly,"
|
||||
#warning "only via syscfg.h"
|
||||
#endif
|
||||
/** @endcond */
|
||||
|
||||
@@ -90,10 +90,10 @@ uint32_t exti_get_flag_status(uint32_t exti)
|
||||
void exti_select_source(uint32_t exti, uint32_t gpioport)
|
||||
{
|
||||
uint32_t line;
|
||||
for (line=0; line<16; line++)
|
||||
{
|
||||
if (!(exti & (1 << line)))
|
||||
for (line = 0; line < 16; line++) {
|
||||
if (!(exti & (1 << line))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
uint32_t bits = 0, mask = 0x0F;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user