mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Fix fclose() return value when closing read-only file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4036 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -97,7 +97,7 @@ void up_irqinitialize(void)
|
||||
|
||||
putreg32(0xffff, PIC32MX_INT_IEC0CLR);
|
||||
putreg32(0xffff, PIC32MX_INT_IEC1CLR);
|
||||
#ifdef PIC32MX_INT_IEC1CLR
|
||||
#ifdef PIC32MX_INT_IEC2CLR
|
||||
putreg32(0xffff, PIC32MX_INT_IEC2CLR);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user