Fix compiler warnings
This commit is contained in:
parent
5e10cf2eed
commit
123e3cae41
11 changed files with 42 additions and 10 deletions
|
@ -9,6 +9,9 @@
|
|||
#include "uip.h"
|
||||
#include "sicslow_ethernet.h"
|
||||
#include <stdio.h>
|
||||
#if RF230BB
|
||||
#include "rf230bb.h"
|
||||
#endif
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include <util/delay.h>
|
||||
|
|
|
@ -72,6 +72,9 @@ RNDIS Status Information:
|
|||
#include "sicslow_ethernet.h"
|
||||
#include <avr/pgmspace.h>
|
||||
#include <string.h>
|
||||
#if RF230BB
|
||||
#include "rf230bb.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <avr/pgmspace.h>
|
||||
|
@ -600,7 +603,7 @@ void rndis_query_process(void)
|
|||
#define PARMVALUELENGTH CFGBUF->ParameterValueLength
|
||||
#define PARM_NAME_LENGTH 25 /* Maximum parameter name length */
|
||||
|
||||
bool
|
||||
void
|
||||
rndis_handle_config_parm(const char* parmname,const uint8_t* parmvalue,size_t parmlength) {
|
||||
if (strncmp_P(parmname, PSTR("rawmode"), 7) == 0) {
|
||||
if (parmvalue[0] == '0') {
|
||||
|
|
|
@ -52,12 +52,16 @@
|
|||
#include "usb_specific_request.h"
|
||||
#include "rndis/rndis_task.h"
|
||||
#include "rndis/rndis_protocol.h"
|
||||
#if RF230BB
|
||||
#include "rf230bb.h"
|
||||
#endif
|
||||
#include "uip.h"
|
||||
#include "sicslow_ethernet.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include <util/delay.h>
|
||||
#include "watchdog.h"
|
||||
|
||||
#include "rndis/cdc_ecm.h"
|
||||
#include "rndis/cdc_eem.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue