Działające dla Jakuba
This commit is contained in:
parent
0630bc998d
commit
2511ea07ba
@ -1,2 +1,2 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module classpath="CMake" type="CPP_MODULE" version="4" />
|
<module classpath="CIDR" type="CPP_MODULE" version="4" />
|
||||||
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -81,6 +81,7 @@ void USB_CDC_RxHandler(uint8_t* Buf, uint32_t Len)
|
|||||||
integration_time = test;
|
integration_time = test;
|
||||||
INTERVAL_TIMER.Instance->ARR = integration_time * 4 - 1;
|
INTERVAL_TIMER.Instance->ARR = integration_time * 4 - 1;
|
||||||
SET_BIT(INTERVAL_TIMER.Instance->EGR,TIM_EGR_UG);
|
SET_BIT(INTERVAL_TIMER.Instance->EGR,TIM_EGR_UG);
|
||||||
|
last_count = EXT_TIMER.Instance->CNT;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user