mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
migrate PrintfAndLog() to PrintAndLogDevice()
This commit is contained in:
parent
668b44ba26
commit
a4fa0144eb
8 changed files with 107 additions and 105 deletions
|
@ -41,6 +41,8 @@
|
|||
#ifndef ON_DEVICE
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "../ui.h"
|
||||
|
||||
/**
|
||||
* @brief Utility function to save data to a binary file. This method takes a preferred name, but if that
|
||||
* file already exists, it tries with another name until it finds something suitable.
|
||||
|
@ -84,5 +86,5 @@ int fileExists(const char *filename);
|
|||
* write also to a logfile. When doing so, just point this function to use PrintAndLog
|
||||
* @param fmt
|
||||
*/
|
||||
void PrintfAndLog(char *fmt, ...);
|
||||
void PrintAndLogDevice(logLevel_t level, char *fmt, ...);
|
||||
#endif // FILEUTILS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue