Wiznet / WIZ550S2E

Serial to Ethernet Module based on W5500 & Cortex-M0
https://docs.wiznet.io/Product/S2E-Module/WIZ550S2E
11 stars 10 forks source link

a mistake ??? #12

Closed xuruidong closed 6 years ago

xuruidong commented 6 years ago

In file "src/Internet/httpServer.c", at line 250, function "get_http_uri_name", return a address on stack ???

Maybe, I am wrong, please tell me the reason, thank you.

OpusK commented 6 years ago

These functions are separated by #ifdef OLD. The currently used function takes a buf pointer as an argument and saves it.

Uint8_t get_http_uri_name (uint8_t uri, uint8_t uri_buf);

The code is ioLibrary code and I will ask the related team to delete the unused code.