Report HWIdle to SICS if the camera driver has been reset via halt().
This commit is contained in:
@ -273,6 +273,7 @@ static int CamHalt(CounterDriver *cntrData) {
|
|||||||
} else {
|
} else {
|
||||||
STset(&self->state_machine.Sc, start_state);
|
STset(&self->state_machine.Sc, start_state);
|
||||||
EVclr(&self->state_machine.Eo);
|
EVclr(&self->state_machine.Eo);
|
||||||
|
self->status = HWIdle;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user