Costmetic changes

This commit is contained in:
Gregory Nutt 2016-10-24 16:18:30 -06:00
parent de6db52b52
commit 1dabbd8489
5 changed files with 1013 additions and 9 deletions

View File

@ -66,7 +66,7 @@
*
* REVISIT: In more architectures supported by NuttX, exception errors
* tie into the normal interrupt handling via special IRQ numbers. I
* is still to be determined what will be done for the the ESP32.
* is still to be determined what will be done for the ESP32.
*/
#define XTENSA_IRQ_TIMER0 0 /* INTERRUPT, bit 6 */

File diff suppressed because it is too large Load Diff

View File

@ -212,11 +212,9 @@ void xtensa_timer_initialize(void)
(void)irq_attach(XTENSA_IRQ_TIMER0, (xcpt_t)esp32_timerisr);
/* Enable the timer interrupt at the device level */
/* Enable the timer interrupt at the device level. NOTE: It is un-necessary
* to call up_enable_irq() for timers.
*/
xtensa_enable_timer();
/* And enable the timer interrupt */
up_enable_irq(XTENSA_IRQ_TIMER0);
}

View File

@ -70,7 +70,7 @@ static inline int isspace(int c)
#else
# define isspace(c) \
((c) == ' ' || (c) == '\t' || (c) == '\n' || (c) == '\r' || \
(c) == '\f' || c== '\v')
(c) == '\f' || (c) == '\v')
#endif
/****************************************************************************

View File

@ -312,8 +312,6 @@ nullreturn:
* yet. Currently useful for UDP when a packet arrives before a recv
* call is in place.
*
* Assumptions:
*
****************************************************************************/
int ipv4_input(FAR struct net_driver_s *dev)