mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
Merge branch 'bugfix/xtensa_sign_conversion' into 'master'
xtensa: fix sign-conversion warning (Github PR) See merge request espressif/esp-idf!8131
This commit is contained in:
@@ -158,12 +158,12 @@ extern unsigned int _xtos_ints_on( unsigned int mask );
|
|||||||
/* Newer functions to enable/disable the specified interrupt. */
|
/* Newer functions to enable/disable the specified interrupt. */
|
||||||
static inline void _xtos_interrupt_enable(unsigned int intnum)
|
static inline void _xtos_interrupt_enable(unsigned int intnum)
|
||||||
{
|
{
|
||||||
_xtos_ints_on(1 << intnum);
|
_xtos_ints_on(1U << intnum);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void _xtos_interrupt_disable(unsigned int intnum)
|
static inline void _xtos_interrupt_disable(unsigned int intnum)
|
||||||
{
|
{
|
||||||
_xtos_ints_off(1 << intnum);
|
_xtos_ints_off(1U << intnum);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern unsigned _xtos_set_intlevel( int intlevel );
|
extern unsigned _xtos_set_intlevel( int intlevel );
|
||||||
@@ -234,4 +234,3 @@ extern void _xtos_timer_3_delta( int cycles );
|
|||||||
#endif /* !_ASMLANGUAGE && !__ASSEMBLER__ */
|
#endif /* !_ASMLANGUAGE && !__ASSEMBLER__ */
|
||||||
|
|
||||||
#endif /* XTRUNTIME_H */
|
#endif /* XTRUNTIME_H */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user