mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 12:17:35 +00:00
Formatted code (#1007)
* Updated style * Updated files * fixed new line * Updated spacing * File fix WIP * Updated to clang 13 * updated comment style * Removed old comment code
This commit is contained in:
@@ -29,21 +29,21 @@ void irq_usb(void);
|
||||
void usb_transfer(void);
|
||||
|
||||
CH_IRQ_HANDLER(Vector60) {
|
||||
irq_usb();
|
||||
irq_usb();
|
||||
}
|
||||
}
|
||||
|
||||
int main() {
|
||||
sdcStart(&SDCD1, nullptr);
|
||||
if (sdcConnect(&SDCD1) == CH_FAILED) chDbgPanic("no sd card #1");
|
||||
sdcStart(&SDCD1, nullptr);
|
||||
if (sdcConnect(&SDCD1) == CH_FAILED) chDbgPanic("no sd card #1");
|
||||
|
||||
start_usb();
|
||||
start_usb();
|
||||
|
||||
while (true) {
|
||||
usb_transfer();
|
||||
}
|
||||
while (true) {
|
||||
usb_transfer();
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void update_performance_counters() {}
|
||||
|
Reference in New Issue
Block a user