mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
Add missing variable initialization
This commit is contained in:
parent
fef2551af4
commit
746f3d4603
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user