- no update of DAC in error state
git-svn-id: http://moon:8086/svn/projects/HendiControl@32 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -215,7 +215,10 @@ int main(void)
|
|||||||
state_next = StateOff;
|
state_next = StateOff;
|
||||||
setSwitch(0);
|
setSwitch(0);
|
||||||
}
|
}
|
||||||
setPower(adc_curr << 2);
|
if (state == StateNormal)
|
||||||
|
{
|
||||||
|
setPower(adc_curr << 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user