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:
parent
79317879cf
commit
6baab020a0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user