mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Costmetic changes
This commit is contained in:
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user