Skip to content

Commit

Permalink
changed to default delay implementation (still systick)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzandroidtab authored Aug 11, 2024
1 parent e149bc6 commit 3c950d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int main() {

// wait until we are configured. (this happens after the host has connected)
while (!usb::device::is_configured<usb>()) {
klib::delay<klib::io::systick>(klib::time::ms(10));
klib::delay(klib::time::ms(10));
klib::cout << ".";
}
klib::cout << klib::endl;
Expand All @@ -40,6 +40,6 @@ int main() {
usb::device::write<usb>(0x00, -1, 0);
usb::device::write<usb>(0x00, 1, 0);

klib::delay<klib::io::systick>(klib::time::s{10});
klib::delay(klib::time::s{10});
}
}

0 comments on commit 3c950d6

Please sign in to comment.