2024-03-28 17:51:39 +03:00
|
|
|
#include "app.h"
|
|
|
|
|
2024-04-30 13:10:11 +03:00
|
|
|
void app() {
|
2024-03-28 17:51:39 +03:00
|
|
|
|
2024-05-02 17:19:55 +03:00
|
|
|
init_LWIP();
|
2024-03-28 17:51:39 +03:00
|
|
|
|
|
|
|
while(1) {
|
2024-05-02 17:19:55 +03:00
|
|
|
// process_LWIP();
|
|
|
|
uint32_t regvalue = 0;
|
|
|
|
HAL_ETH_ReadPHYRegister(getEthStruct(), 1, ®value);
|
2024-04-30 13:10:11 +03:00
|
|
|
delay(500);
|
2024-05-02 17:19:55 +03:00
|
|
|
printf("Test: %d\r\n", regvalue);
|
2024-04-30 13:10:11 +03:00
|
|
|
// process_LWIP();
|
2024-03-28 17:51:39 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|