adds i2c slave implementation

This commit is contained in:
Jack Humbert 2018-02-10 16:32:05 -05:00
parent b075df1c87
commit be81cd8c98
11 changed files with 300 additions and 63 deletions

View file

@ -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;
}