refactoring
This commit is contained in:
parent
e000cb1272
commit
01fe961d0c
|
@ -132,7 +132,7 @@ void setSdCardConfigurationOverrides(void) {
|
|||
void setBoardConfigurationOverrides(void) {
|
||||
// give a chance to trigger SWD programmer... Wait for 2 secs (=2000 ms).
|
||||
// TODO: remove it when the bootloader is ready
|
||||
Delay(2000);
|
||||
chThdSleepMilliseconds(2000);
|
||||
|
||||
setSerialConfigurationOverrides();
|
||||
|
||||
|
|
|
@ -125,7 +125,6 @@ typedef unsigned int time_t;
|
|||
*/
|
||||
#define NT2US(nt) ((nt) / US_TO_NT_MULTIPLIER)
|
||||
|
||||
#define Delay(ms) chThdSleepMilliseconds(ms)
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue