Fix some spacing problems
This commit is contained in:
parent
2b88bc7119
commit
b6930e442b
@ -75,7 +75,7 @@ void tm4c_ledinit(void)
|
||||
|
||||
void board_led_on(int led)
|
||||
{
|
||||
/* --------------- ------- ---- ----- --------------------
|
||||
/* --------------- ------- ---- ----- --------------------
|
||||
* STATE VALUE RED GREEN BLUE
|
||||
* --------------- ------- ---- ----- --------------------
|
||||
* LED_STARTED 0 OFF OFF ON
|
||||
@ -126,7 +126,7 @@ void board_led_on(int led)
|
||||
|
||||
void board_led_off(int led)
|
||||
{
|
||||
/* --------------- ------- ---- ----- --------------------
|
||||
/* --------------- ------- ---- ----- --------------------
|
||||
* STATE VALUE RED GREEN BLUE
|
||||
* --------------- ------- ---- ----- --------------------
|
||||
* LED_STARTED 0 OFF OFF ON
|
||||
|
@ -302,7 +302,7 @@ void board_led_off(int led)
|
||||
* Name: up_timerhook
|
||||
****************************************************************************/
|
||||
|
||||
void up_timerhook(void)
|
||||
void up_timerhook(void)
|
||||
{
|
||||
if (g_cathoderow > 6)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ struct led_setting_s
|
||||
};
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
/* If CONFIG_ARCH_LEDS is defined then NuttX will control the LEDs. The
|
||||
|
@ -37,7 +37,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* LCD pin mapping (see configs/pcblogic-pic32mx/README.txt)
|
||||
/* LCD pin mapping (see configs/pcblogic-pic32mx/README.txt)
|
||||
*
|
||||
* ----------------------------------- ---------- ----------------------------------
|
||||
* PIC32 LCD1602 PCBLogic PIN
|
||||
|
@ -125,7 +125,7 @@ struct led_setting_s
|
||||
};
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
/* If CONFIG_ARCH_LEDS is defined then NuttX will control the LEDs. The
|
||||
|
@ -105,7 +105,7 @@ void weak_function pic32mx_usbdevinitialize(void)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
// pic32mx_configgpio(GPIO_USB_VBUSON);
|
||||
//pic32mx_configgpio(GPIO_USB_VBUSON);
|
||||
#endif
|
||||
|
||||
/* "If the host PC sends a GetStatus (device) request, the firmware must respond
|
||||
@ -120,7 +120,7 @@ void weak_function pic32mx_usbdevinitialize(void)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USB_PWRSENSE
|
||||
// pic32mx_configgpio(GPIO_USB_PWRSENSE);
|
||||
//pic32mx_configgpio(GPIO_USB_PWRSENSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@ struct led_setting_s
|
||||
};
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
/* If CONFIG_ARCH_LEDS is defined then NuttX will control the LEDs. The
|
||||
|
@ -105,7 +105,7 @@ void weak_function pic32mx_usbdevinitialize(void)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
// pic32mx_configgpio(GPIO_USB_VBUSON);
|
||||
//pic32mx_configgpio(GPIO_USB_VBUSON);
|
||||
#endif
|
||||
|
||||
/* "If the host PC sends a GetStatus (device) request, the firmware must respond
|
||||
@ -120,7 +120,7 @@ void weak_function pic32mx_usbdevinitialize(void)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USB_PWRSENSE
|
||||
// pic32mx_configgpio(GPIO_USB_PWRSENSE);
|
||||
//pic32mx_configgpio(GPIO_USB_PWRSENSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -1859,7 +1859,8 @@ static inline int stm32_lcdinitialize(FAR struct stm32_dev_s *priv)
|
||||
lcddbg("LCD type: %d\n", priv->type);
|
||||
return ret;
|
||||
}
|
||||
/************************************************************************************
|
||||
|
||||
/************************************************************************************
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
|
@ -1118,7 +1118,7 @@ static inline void stm3220g_lcdinitialize(void)
|
||||
}
|
||||
}
|
||||
|
||||
/**************************************************************************************
|
||||
/**************************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************************/
|
||||
|
||||
|
@ -1117,7 +1117,7 @@ static inline void stm3240g_lcdinitialize(void)
|
||||
}
|
||||
}
|
||||
|
||||
/**************************************************************************************
|
||||
/**************************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************************/
|
||||
|
||||
|
@ -161,7 +161,7 @@ uint8_t stm32_spi3status(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
|
||||
void stm32_spi4select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool selected)
|
||||
{
|
||||
spidbg("devid: %d CS: %s\n", (int)devid, selected ? "assert" : "de-assert");
|
||||
}}
|
||||
}
|
||||
|
||||
uint8_t stm32_spi4status(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
|
||||
{
|
||||
|
@ -114,7 +114,7 @@ struct led_setting_s
|
||||
uint8_t error : 2;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* LCD pin mapping (see configs/sure-pic32mx/README.txt)
|
||||
/* LCD pin mapping (see configs/sure-pic32mx/README.txt)
|
||||
*
|
||||
* --------------------- ---------- ----------------------------------
|
||||
* PIC32 Sure JP1 Sure Signal Description
|
||||
|
@ -105,10 +105,9 @@
|
||||
|
||||
# undef PIC32_HAVE_SD
|
||||
|
||||
/* The Sure DB-DP11212 PIC32 General Purpose Demo Board has an SOIC (Flash or
|
||||
/* The Sure DB-DP11212 PIC32 General Purpose Demo Board has an SOIC (Flash or
|
||||
* EEPROM) connected on SPI2:
|
||||
*
|
||||
*
|
||||
* TMS/AN10/PMA13/RB10 UTIL_WP FLASH (U4) WP
|
||||
* TDO/AN11/PMA12/RB11 UTIL_CS FLASH (U4) CS
|
||||
*/
|
||||
|
@ -117,7 +117,7 @@ void weak_function pic32mx_usbdevinitialize(void)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
// pic32mx_configgpio(GPIO_USB_VBUSON);
|
||||
//pic32mx_configgpio(GPIO_USB_VBUSON);
|
||||
#endif
|
||||
|
||||
/* "If the host PC sends a GetStatus (device) request, the firmware must respond
|
||||
@ -132,7 +132,7 @@ void weak_function pic32mx_usbdevinitialize(void)
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USB_PWRSENSE
|
||||
// pic32mx_configgpio(GPIO_USB_PWRSENSE);
|
||||
//pic32mx_configgpio(GPIO_USB_PWRSENSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
|
||||
#ifdef CONFIG_TIVA_ADC
|
||||
int board_adc_initialize(void)
|
||||
{
|
||||
{
|
||||
# if defined (CONFIG_TIVA_ADC) && defined (CONFIG_ADC)
|
||||
static bool initialized = false;
|
||||
int ret;
|
||||
|
@ -125,7 +125,7 @@ struct led_setting_s
|
||||
};
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
/* If CONFIG_ARCH_LEDS is defined then NuttX will control the LEDs. The
|
||||
|
Loading…
Reference in New Issue
Block a user