fix app router (#808)
with optimize Os the program exits with bit out of range 0 - FD_SETSIZE on fd_set Disable optimize for size by static set optimize 2 This Fix #793
This commit is contained in:
@@ -22,7 +22,9 @@ uint8_t test_packet[] = { 0x81, 0x0a, 0x00, 0x16, /* BVLC header */
|
|||||||
0x00, 0x02, 0x19, 0x55 }; /* APDU */
|
0x00, 0x02, 0x19, 0x55 }; /* APDU */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void *dl_ip_thread(void *pArgs)
|
/* BUG with optimize Os */
|
||||||
|
/* *** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated */
|
||||||
|
void __attribute__((optimize("O2"))) * dl_ip_thread(void *pArgs)
|
||||||
{
|
{
|
||||||
MSGBOX_ID msgboxid;
|
MSGBOX_ID msgboxid;
|
||||||
BACMSG msg_storage, *bacmsg = NULL;
|
BACMSG msg_storage, *bacmsg = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user