[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] ethernetif_input usage with Ethernet over SPI
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] ethernetif_input usage with Ethernet over SPI |
Date: |
Tue, 21 Aug 2012 10:14:16 +0200 |
"Tomáš Švec" wrote:
> The problem is, in that case, I need to call ethernetif_input
> manually when I receive the package, right? In case it is right,
> ethernetif_input is a static function, which does not allow me to use it
> outside its translation unit. Is it safe to remove the "static" attribute,
> or is my understanding of the concept completely wrong?
It sounds correct. Instead of calling ethernetif_input() from an ISR function
inside the same file, you can just call it from your main loop. It's just
static in the example because it is meant to be called from a local ISR, I
guess.
Simon
- [lwip-users] ethernetif_input usage with Ethernet over SPI, Tomáš Švec, 2012/08/21
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI,
Simon Goldschmidt <=
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Tomáš Švec, 2012/08/22
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Simon Goldschmidt, 2012/08/22
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Tomáš Švec, 2012/08/23
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Sylvain Rochet, 2012/08/23
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Tomáš Švec, 2012/08/23
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Sylvain Rochet, 2012/08/23
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Tomáš Švec, 2012/08/27
- Re: [lwip-users] ethernetif_input usage with Ethernet over SPI, Sylvain Rochet, 2012/08/29