adds i2c slave implementation
This commit is contained in:
parent
b075df1c87
commit
be81cd8c98
11 changed files with 300 additions and 63 deletions
|
@ -135,7 +135,10 @@ int main(void) {
|
|||
|
||||
/* Wait until the USB or serial link is active */
|
||||
while (true) {
|
||||
if(USB_DRIVER.state == USB_ACTIVE) {
|
||||
#if !defined(NO_USB_STARTUP_CHECK)
|
||||
if(USB_DRIVER.state == USB_ACTIVE)
|
||||
#endif
|
||||
{
|
||||
driver = &chibios_driver;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue