File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ class RP2040 {
465465    }
466466
467467    bool  isPicoW () {
468- #if  !defined(ARDUINO_RASPBERRY_PI_PICO_W )
468+ #if  !defined(PICO_CYW43_SUPPORTED )
469469        return  false ;
470470#else 
471471        extern  bool  __isPicoW;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class LWIPMutex {
4646        if  (ethernet_arch_lwip_gpio_mask)  {
4747            ethernet_arch_lwip_gpio_mask ();
4848        }
49- #if  defined(ARDUINO_RASPBERRY_PI_PICO_W )
49+ #if  defined(PICO_CYW43_SUPPORTED )
5050        if  (rp2040.isPicoW ()) {
5151            cyw43_arch_lwip_begin ();
5252            return ;
@@ -60,7 +60,7 @@ class LWIPMutex {
6060    }
6161
6262    ~LWIPMutex () {
63- #if  defined(ARDUINO_RASPBERRY_PI_PICO_W )
63+ #if  defined(PICO_CYW43_SUPPORTED )
6464        if  (rp2040.isPicoW ()) {
6565            cyw43_arch_lwip_end ();
6666        } else  {
@@ -70,7 +70,7 @@ class LWIPMutex {
7070            } else  {
7171                recursive_mutex_exit (&__lwipMutex);
7272            }
73- #if  defined(ARDUINO_RASPBERRY_PI_PICO_W )
73+ #if  defined(PICO_CYW43_SUPPORTED )
7474        }
7575#endif 
7676        if  (ethernet_arch_lwip_gpio_unmask) {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments