mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 13:30:38 +02:00
36 lines
577 B
C
36 lines
577 B
C
/*
|
|
* labsw.c - Lab Switch initialization and main loop
|
|
*
|
|
* Written 2011 by Werner Almesberger
|
|
* Copyright 2011 Werner Almesberger
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "regs.h"
|
|
#include "usb.h"
|
|
|
|
|
|
static void init_io(void)
|
|
{
|
|
}
|
|
|
|
|
|
void main(void)
|
|
{
|
|
init_io();
|
|
|
|
usb_init();
|
|
// ep0_init();
|
|
|
|
while (1) {
|
|
usb_poll();
|
|
}
|
|
}
|