Mercurial > public > ostc4
comparison Small_CPU/Src/baseCPU2.c @ 763:aa6006975e76
increase HAL_Delay to 10ms for cold-start-button reset
+ typos and comment changes
author | heinrichsweikamp |
---|---|
date | Sun, 26 Mar 2023 18:34:30 +0200 |
parents | 32529dfea3b0 |
children | dfdfea8897f3 |
comparison
equal
deleted
inserted
replaced
762:32529dfea3b0 | 763:aa6006975e76 |
---|---|
373 global.dataSendToMaster.power_on_reset = 1; | 373 global.dataSendToMaster.power_on_reset = 1; |
374 global.deviceDataSendToMaster.power_on_reset = 1; | 374 global.deviceDataSendToMaster.power_on_reset = 1; |
375 | 375 |
376 if (!scheduleSetButtonResponsiveness()) | 376 if (!scheduleSetButtonResponsiveness()) |
377 { | 377 { |
378 HAL_Delay(1); | 378 HAL_Delay(10); |
379 if (!scheduleSetButtonResponsiveness()) // send again, if problem it's not my problem here. | 379 if (!scheduleSetButtonResponsiveness()) // send again, if problem it's not my problem here. |
380 { | 380 { |
381 HAL_Delay(1); | 381 HAL_Delay(10); |
382 scheduleSetButtonResponsiveness(); // init | 382 scheduleSetButtonResponsiveness(); // init |
383 HAL_Delay(1); | 383 HAL_Delay(10); |
384 } | 384 } |
385 } | 385 } |
386 } | 386 } |
387 else | 387 else |
388 { | 388 { |