Add missing variable initialization

This commit is contained in:
Norman Feske 2012-10-30 12:06:55 +01:00
parent fef2551af4
commit 746f3d4603
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ struct Omap4_hsmmc_controller : private Mmchs, public Sd_card::Host_controller
bool result = false;
/* wait until command is completed, return false on timeout */
for (unsigned long i; i < 1000*1000; i++) {
for (unsigned long i = 0; i < 1000*1000; i++) {
Stat::access_t const stat = read<Stat>();
if (Stat::Erri::get(stat)) {
PWRN("SD command error");