Skip to content
Snippets Groups Projects
Commit d27cf3fd authored by burneykb's avatar burneykb
Browse files

removing multiple iic/uart parts from virtquad

parent 6763e104
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,6 @@ struct RCReceiverDriver create_unix_rc_receiver() {
struct I2CDriver create_unix_i2c() {
struct I2CDriver i2c;
i2c.state = NULL;
i2c.busId = 0;
i2c.reset = unix_i2c_reset;
i2c.write = unix_i2c_write;
i2c.read = unix_i2c_read;
......
......@@ -35,7 +35,7 @@ int setup_hardware(hardware_t *hardware) {
hardware->i2c_1 = create_unix_i2c();
hardware->rc_receiver = create_unix_rc_receiver();
hardware->motors = create_unix_motors();
hardware->uart = create_unix_uart();
hardware->uart_0 = create_unix_uart();
hardware->global_timer = create_unix_global_timer();
hardware->axi_timer = create_unix_axi_timer();
hardware->mio7_led = create_unix_mio7_led();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment