diff --git a/examples/USB_desc/USB_desc.ino b/examples/USB_desc/USB_desc.ino index 0ae15663..1af80340 100644 --- a/examples/USB_desc/USB_desc.ino +++ b/examples/USB_desc/USB_desc.ino @@ -240,7 +240,7 @@ byte getconfdescr( byte addr, byte conf ) }//switch( descr_type buf_ptr = ( buf_ptr + descr_length ); //advance buffer pointer }//while( buf_ptr <=... - return( 0 ); + return ( rcode ); } /* prints hex numbers with leading zeroes */ // copyright, Peter H Anderson, Baltimore, MD, Nov, '07 diff --git a/examples/hub_demo/hub_demo.ino b/examples/hub_demo/hub_demo.ino index 20685067..e8dc6ab9 100644 --- a/examples/hub_demo/hub_demo.ino +++ b/examples/hub_demo/hub_demo.ino @@ -236,7 +236,7 @@ byte getconfdescr( byte addr, byte conf ) }//switch( descr_type buf_ptr = ( buf_ptr + descr_length ); //advance buffer pointer }//while( buf_ptr <=... - return( 0 ); + return ( rcode ); } /* prints hex numbers with leading zeroes */ // copyright, Peter H Anderson, Baltimore, MD, Nov, '07