Skip to content

Commit c83ab60

Browse files
authored
remove the commented check and fix the error message
1 parent 4ad6902 commit c83ab60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/Ethernet/src/ETH.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ bool ETHClass::beginSPI(eth_phy_type_t type, uint8_t phy_addr, int cs, int irq,
351351
log_w("ETH Already Started");
352352
return true;
353353
}
354-
if(cs < 0 /*|| irq < 0*/){
355-
log_e("CS and IRQ pins must be defined!");
354+
if(cs < 0){
355+
log_e("CS pin must be defined!");
356356
return false;
357357
}
358358

0 commit comments

Comments
 (0)