CHG: continue code cleanup.
REM: removed stdint.h , since we are using c99 when compiling.
This commit is contained in:
@@ -27,10 +27,6 @@
|
||||
#include <inttypes.h>
|
||||
#include "usb_cmd.h"
|
||||
|
||||
/*
|
||||
#define lu PRIu32
|
||||
#define lx PRIx32
|
||||
*/
|
||||
#define PROXPROMPT "pm3 --> "
|
||||
|
||||
void SendCommand(UsbCommand *c);
|
||||
|
||||
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user