fixed bugs and update readme

This commit is contained in:
2023-12-08 11:35:56 +03:00
parent 33e4eb9e6a
commit e7c206102d
6 changed files with 38 additions and 15 deletions

View File

@@ -41,7 +41,7 @@ int main(void){
hw_setup();
USB_setup();
// close shutter and only after that turn on USB pullup
while(!close_shutter() && Tms < the_conf.waitingtime) IWDG->KR = IWDG_REFRESH;
while(!close_shutter() && Tms < 1000) IWDG->KR = IWDG_REFRESH;
USBPU_ON();
uint32_t Terr = Tms + 2*ERRPERIOD;