mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed: warning: variable 'rcode' set but not used
This commit is contained in:
parent
1f3072b343
commit
bce1541026
2 changed files with 2 additions and 2 deletions
|
@ -240,7 +240,7 @@ byte getconfdescr( byte addr, byte conf )
|
||||||
}//switch( descr_type
|
}//switch( descr_type
|
||||||
buf_ptr = ( buf_ptr + descr_length ); //advance buffer pointer
|
buf_ptr = ( buf_ptr + descr_length ); //advance buffer pointer
|
||||||
}//while( buf_ptr <=...
|
}//while( buf_ptr <=...
|
||||||
return( 0 );
|
return ( rcode );
|
||||||
}
|
}
|
||||||
/* prints hex numbers with leading zeroes */
|
/* prints hex numbers with leading zeroes */
|
||||||
// copyright, Peter H Anderson, Baltimore, MD, Nov, '07
|
// copyright, Peter H Anderson, Baltimore, MD, Nov, '07
|
||||||
|
|
|
@ -236,7 +236,7 @@ byte getconfdescr( byte addr, byte conf )
|
||||||
}//switch( descr_type
|
}//switch( descr_type
|
||||||
buf_ptr = ( buf_ptr + descr_length ); //advance buffer pointer
|
buf_ptr = ( buf_ptr + descr_length ); //advance buffer pointer
|
||||||
}//while( buf_ptr <=...
|
}//while( buf_ptr <=...
|
||||||
return( 0 );
|
return ( rcode );
|
||||||
}
|
}
|
||||||
/* prints hex numbers with leading zeroes */
|
/* prints hex numbers with leading zeroes */
|
||||||
// copyright, Peter H Anderson, Baltimore, MD, Nov, '07
|
// copyright, Peter H Anderson, Baltimore, MD, Nov, '07
|
||||||
|
|
Loading…
Reference in a new issue