X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3851172d8168f32f1dc28b48b7a4df88e30bdeca..cbecb8a20943239fe217ec329f05e8460bfc49e9:/client/flash.h diff --git a/client/flash.h b/client/flash.h index 3e9f77a7..06c7c96e 100644 --- a/client/flash.h +++ b/client/flash.h @@ -10,7 +10,7 @@ #define __FLASH_H__ #include -#include "elf.h" +#include typedef struct { void *data; @@ -25,11 +25,10 @@ typedef struct { flash_seg_t *segments; } flash_file_t; -int flash_load(flash_file_t *ctx, const char *name, int can_write_bl); -int flash_start_flashing(int enable_bl_writes,char *serial_port_name); +int flash_load(flash_file_t *ctx, const char *name, bool can_write_bl); +int flash_start_flashing(int enable_bl_writes, char *serial_port_name); int flash_write(flash_file_t *ctx); void flash_free(flash_file_t *ctx); int flash_stop_flashing(void); - #endif