Merge branch 'master' into experimental_varlen
* master: chg: 'hf mf sim' - textual fix: warning on mingw64. This offset is calculated, casting it to u32 should be fine. fix: https://github.com/RfidResearchGroup/proxmark3/issues/174 remove all offending code, return 1. Will only impact the speed of hardnested execution. fix again OSX fix https://github.com/RfidResearchGroup/proxmark3/issues/173 used predefined constants, common types moved to common header files backward compatibility, on load converter for old mfu dump format loops for counters output UL/NTAG new dump file format. Added counters support, simulation
This commit is contained in:
@@ -87,3 +87,9 @@ int32_t le24toh(uint8_t data[3]) {
|
||||
return (data[2] << 16) | (data[1] << 8) | data[0];
|
||||
}
|
||||
|
||||
void htole24(uint32_t val, uint8_t data[3]) {
|
||||
data[0] = (uint8_t) val;
|
||||
data[1] = (uint8_t)(val >> 8);
|
||||
data[2] = (uint8_t)(val >> 16);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user