diff options
| author | Tianhao Wang <wth@riseup.net> | 2024-01-30 02:33:26 +0100 |
|---|---|---|
| committer | Tianhao Wang <wth@riseup.net> | 2024-01-30 02:33:26 +0100 |
| commit | 5232a899ca7537a4493a7fbd1bd8e03287ff1e26 (patch) | |
| tree | 87ded44101daa8832ad264996bde74160ab2db93 /src/arch/x86_64/misc.rs | |
| parent | 553657a0b527ae8ce09ac628da6122fbdd57157b (diff) | |
formatting code, use tab identation -- before it's too late
Diffstat (limited to 'src/arch/x86_64/misc.rs')
| -rw-r--r-- | src/arch/x86_64/misc.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86_64/misc.rs b/src/arch/x86_64/misc.rs index c007d99..8a2c316 100644 --- a/src/arch/x86_64/misc.rs +++ b/src/arch/x86_64/misc.rs @@ -3,7 +3,7 @@ // asm code goes to asm/misc.s extern "C" { - fn _delay(); + fn _delay(); } #[inline(always)] @@ -11,7 +11,7 @@ extern "C" { // delays for several cycles. Used to fill sequantial IO commands // (for devices to react) pub fn delay() { - unsafe { - _delay(); - } + unsafe { + _delay(); + } } |
