Skip to content

Commit

Permalink
fixed printf warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JojoS62 committed Dec 19, 2019
1 parent e2ade76 commit f1b70f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SDIOBlockDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ int SDIOBlockDevice::init()

SD_GetCardInfo(&_cardInfo);
_is_initialized = true;
debug_if(SD_DBG, "SD initialized: type: %d version: %d class: %d\n",
debug_if(SD_DBG, "SD initialized: type: %ld version: %ld class: %ld\n",
_cardInfo.CardType, _cardInfo.CardVersion, _cardInfo.Class);
debug_if(SD_DBG, "SD size: %d MB\n",
debug_if(SD_DBG, "SD size: %ld MB\n",
_cardInfo.LogBlockNbr / 2 / 1024);

// get sectors count from cardinfo
Expand Down

0 comments on commit f1b70f2

Please sign in to comment.