CHG: continue code cleanup.

REM: removed stdint.h ,  since we are using c99 when compiling.
This commit is contained in:
iceman1001
2017-02-23 00:32:14 +01:00
parent 9c624f67b3
commit 07bc72b880
12 changed files with 66 additions and 157 deletions

View File

@@ -27,10 +27,6 @@
#include <inttypes.h>
#include "usb_cmd.h"
/*
#define lu PRIu32
#define lx PRIx32
*/
#define PROXPROMPT "pm3 --> "
void SendCommand(UsbCommand *c);

View File

@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "reveng.h"
/* Private declarations */
@@ -116,7 +117,7 @@ mtostr(const model_t *model) {
if((string = malloc(size))) {
sprintf(strbuf, "\"%s\"", model->name);
sprintf(string,
"width=%lu "
"width=%" PRIu32 ""
"poly=0x%s "
"init=0x%s "
"refin=%s "