Jared Hancock 2024-04-26 17:47:48 -05:00 zatwierdzone przez GitHub
commit 6c5debeb89
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -211,7 +211,11 @@ static void wiznet5k_init(void) {
// Configure wiznet for raw ethernet frame usage.
// Configure 16k buffers for fast MACRAW
#if _WIZCHIP_ < W5200
uint8_t sn_size[8] = {8, 0, 0, 0, 8, 0, 0, 0};
#else
uint8_t sn_size[16] = {16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0};
#endif
ctlwizchip(CW_INIT_WIZCHIP, sn_size);
if (wiznet5k_obj.use_interrupt) {