We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 405368c commit 4a3efd7Copy full SHA for 4a3efd7
1 file changed
targets/core/atmel/atsam4s/i2c.hpp
@@ -73,10 +73,6 @@ namespace klib::core::atsam4s::io {
73
// set the address we want to write to
74
read_write_set_address<false>(address);
75
76
- // start the transaction (also set the end flag
77
- // if we have less or equal than 1 byte)
78
- I2c::port->CR = 0x1 | ((data.size() <= 1 && SendStop) ? (0x1 << 1) : 0x00);
79
-
80
// wait until we can write into the transmit holding register
81
const uint32_t s = wait_for_status((0x1 << 8) | (0x1 << 2));
82
0 commit comments