mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
Fix windows compilation issues. But still not final. We should move to pthread and factorize the code with *nix). Ideally we should move to libusb-1.0 too.
This commit is contained in:
parent
3ec3a4724e
commit
91c38cf715
8 changed files with 30 additions and 40 deletions
|
@ -10,10 +10,11 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "graph.h"
|
||||
|
||||
#include "proxusb.h"
|
||||
#include "cmdmain.h"
|
||||
#include "graph.h"
|
||||
#include "ui.h"
|
||||
#include "cmdmain.h"
|
||||
|
||||
#define oops() do { \
|
||||
char line[100]; \
|
||||
|
@ -354,7 +355,7 @@ nopaint:
|
|||
return 1;
|
||||
}
|
||||
|
||||
void PrintToScrollback(char *fmt, ...)
|
||||
void PrintAndLog(char *fmt, ...)
|
||||
{
|
||||
va_list f;
|
||||
char str[1024];
|
||||
|
@ -450,8 +451,8 @@ void ShowGui()
|
|||
ResizeCommandWindow();
|
||||
SetFocus(CommandEdit);
|
||||
|
||||
PrintToScrollback(">> Started prox, built " __DATE__ " " __TIME__);
|
||||
PrintToScrollback(">> Connected to device");
|
||||
PrintAndLog(">> Started prox, built " __DATE__ " " __TIME__);
|
||||
PrintAndLog(">> Connected to device");
|
||||
|
||||
GreyPenLite = CreatePen(PS_SOLID, 1, RGB(50, 50, 50));
|
||||
GreyPen = CreatePen(PS_SOLID, 1, RGB(100, 100, 100));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue