Permalink
Browse files

get rid of puts_plus & fix -pedantic

  • Loading branch information...
Sec42 committed Jan 6, 2014
1 parent ab199f8 commit 07397fd0dfc6f4926067c39ac7f75405fecc013a
Showing with 5 additions and 3 deletions.
  1. +5 −3 firmware/applications/serial/serial.c
@@ -35,6 +35,8 @@ char funkencrypt=0;
#error "CDC is not defined"
#endif
#define puts_plus puts
/**************************************************************************/
uint32_t thekey[4] = { 0x0, 0x0, 0x0, 0x0 };
@@ -129,7 +131,7 @@ static uint8_t * hextobyte(char * input, int *len){
};
*len=bp;
return buf;
};
}
static uint32_t gethexval(char * input){
int len;
@@ -138,7 +140,7 @@ static uint32_t gethexval(char * input){
while(--len>0)
v=v*256+(*++hex);
return v;
};
}
static int process(char * input){
if(input == NULL || input[0]==0)
@@ -473,4 +475,4 @@ static int process(char * input){
};
puts("D done.\r\n");
return 0;
};
}

0 comments on commit 07397fd

Please sign in to comment.