File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1496,8 +1496,8 @@ static numvar pinMakeDisconnected(void) {
14961496  return  pinSetModeInternal (1 , PinoccioScout::PINMODE_DISCONNECTED);
14971497}
14981498
1499- static  numvar pinDisable (void ) {
1500-   if  (!checkArgs (1 , F (" usage: pin.disable (\" pinName\" )" 
1499+ static  numvar pinMakeDisabled (void ) {
1500+   if  (!checkArgs (1 , F (" usage: pin.makedisabled (\" pinName\" )" 
15011501    return  0 ;
15021502  }
15031503
@@ -2485,7 +2485,7 @@ void PinoccioShell::setup() {
24852485  addFunction (" pin.makeoutput" 
24862486  addFunction (" pin.makepwm" 
24872487  addFunction (" pin.makedisconnected" 
2488-   addFunction (" pin.disable " pinDisable );
2488+   addFunction (" pin.makedisabled " pinMakeDisabled );
24892489  addFunction (" pin.setmode" 
24902490  addFunction (" pin.read" 
24912491  addFunction (" pin.write" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments