code style
This commit is contained in:
parent
18a589a0b7
commit
ee2d39a127
|
@ -70,8 +70,9 @@ void setHardwareUsTimer(int32_t timeUs) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (GPTDEVICE.state == GPT_ONESHOT)
|
||||
if (GPTDEVICE.state == GPT_ONESHOT) {
|
||||
gptStopTimerI(&GPTDEVICE);
|
||||
}
|
||||
if (GPTDEVICE.state != GPT_READY) {
|
||||
firmwareError(CUSTOM_ERR_6541, "HW timer state %d", GPTDEVICE.state);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue