[style] mass reformat all the non external code to 4 space indents
Ran everything through scripts/codestyle.space, which uses astyle to generally follow K&R style. Biggest non whitespace change is pulling brackets down on function declarations, which I'm pretty ambivalent about, but astyle insists on taking a stance
This commit is contained in:
@@ -31,23 +31,23 @@
|
||||
|
||||
void target_early_init(void)
|
||||
{
|
||||
/* configure the usart1 pins */
|
||||
gpio_config(GPIO_LED1, GPIO_OUTPUT);
|
||||
/* configure the usart1 pins */
|
||||
gpio_config(GPIO_LED1, GPIO_OUTPUT);
|
||||
gpio_config(GPIO_LED2, GPIO_OUTPUT);
|
||||
gpio_config(GPIO_LED3, GPIO_OUTPUT);
|
||||
gpio_config(GPIO_LED4, GPIO_OUTPUT);
|
||||
|
||||
gpio_set(GPIO_LED1,1);
|
||||
gpio_set(GPIO_LED2,1);
|
||||
gpio_set(GPIO_LED3,0);
|
||||
gpio_set(GPIO_LED4,0);
|
||||
gpio_set(GPIO_LED1,1);
|
||||
gpio_set(GPIO_LED2,1);
|
||||
gpio_set(GPIO_LED3,0);
|
||||
gpio_set(GPIO_LED4,0);
|
||||
|
||||
nrf51_debug_early_init();
|
||||
nrf51_debug_early_init();
|
||||
}
|
||||
|
||||
|
||||
void target_init(void)
|
||||
{
|
||||
nrf51_debug_init();
|
||||
nrf51_debug_init();
|
||||
dprintf(SPEW,"Target: PCA10028 DK...\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user