Error Message "old_level" is undefinded

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error Message "old_level" is undefinded

Cornils, Jan

Hello everybody,

 

I use LWIP 2.1.2 on a STM32 and would like to use SLIP_RX_FROM_ISR. To do that I set SLIP_RX_FROM_ISR to 1 and SYS_LIGHTWEIGHT_PROT to 1. Now I can use

slipif_received_byte() from my serial rx interrupt and slipif_process_rxqueue() in the main to get the data out of the buffer.

 

However, when I set SYS_LIGHTWEIGHT_PROT to 1 I get the error:

 

"identifier sys_prot_t is undefined", thus I have defined it with: typedef unsigned int sys_prot_t.

 

But now I get the error message:

 

"identifier old_level is undefined"

 

Did anybody had the same problem? Can anybody help? Any ideas?

 

I really appreciate any help.

 

Best regards,

Jan

 

---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.

Diese Nachricht enthaelt vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfaenger dieser E-mail sein, senden Sie bitte diese an den Absender zurueck und loeschen Sie die E-mail aus Ihrem System.

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users