fix string formatter

This commit is contained in:
iceman1001 2023-08-02 23:47:25 +02:00
commit fd987ab8a2
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased] ## [unreleased][unreleased]
- Added `data atr` - a command to lookup ATR (@iceman1001)
- Fixed bug in ATR lookup fct, thanks @DidierA (@iceman1001)
- Updated ATR list (@iceman1001) - Updated ATR list (@iceman1001)
- Changed `mem load -m` - now correctly erase all allocated flash memory (@iceman1001) - Changed `mem load -m` - now correctly erase all allocated flash memory (@iceman1001)
- Fixed emulator quick dump to handle MFC Ev1 extra sectors (@iceman100) - Fixed emulator quick dump to handle MFC Ev1 extra sectors (@iceman100)

View file

@ -1156,7 +1156,7 @@ static int CmdAnalyseUnits(const char *Cmd) {
PrintAndLogEx(INFO, " 32 SSP = %i ETU (expect 1) " _GREEN_("ok"), SSP_TO_ETU(32)); PrintAndLogEx(INFO, " 32 SSP = %i ETU (expect 1) " _GREEN_("ok"), SSP_TO_ETU(32));
} else if (etu) { } else if (etu) {
PrintAndLogEx(INFO, " %i ETU = %u us ", ETU_TO_US(etu), 0); PrintAndLogEx(INFO, " %3.2f ETU = %u us ", ETU_TO_US(etu), 0);
PrintAndLogEx(INFO, " %i ETU = %u SSP ", ETU_TO_SSP(etu), 0); PrintAndLogEx(INFO, " %i ETU = %u SSP ", ETU_TO_SSP(etu), 0);
} else if (us) { } else if (us) {
PrintAndLogEx(INFO, " %i us = %u ETU ", US_TO_ETU(us), 0); PrintAndLogEx(INFO, " %i us = %u ETU ", US_TO_ETU(us), 0);