mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
ADD: case insensitive commands :) finally, you can write LF SEARCH ...
This commit is contained in:
parent
4e7c987cbd
commit
55a1ef1549
3 changed files with 94 additions and 90 deletions
|
@ -664,8 +664,7 @@ uint64_t HornerScheme(uint64_t num, uint64_t divider, uint64_t factor) {
|
|||
}
|
||||
|
||||
// determine number of logical CPU cores (use for multithreaded functions)
|
||||
extern int num_CPUs(void)
|
||||
{
|
||||
extern int num_CPUs(void) {
|
||||
#if defined(_WIN32)
|
||||
#include <sysinfoapi.h>
|
||||
SYSTEM_INFO sysinfo;
|
||||
|
@ -677,4 +676,9 @@ extern int num_CPUs(void)
|
|||
#else
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
extern void str_lower(char *s ){
|
||||
for(int i=0; i < strlen(s); i++)
|
||||
s[i] = tolower( s[i] );
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue