Fix comment
This commit is contained in:
parent
4dd5aecd42
commit
d07cbc33e5
@ -40,7 +40,7 @@ uint8_t smbus_write(uint8_t address, uint8_t command, uint16_t data) {
|
|||||||
D0REGA = (uint8_t)data;
|
D0REGA = (uint8_t)data;
|
||||||
D1REGA = (uint8_t)(data >> 8);
|
D1REGA = (uint8_t)(data >> 8);
|
||||||
|
|
||||||
// Start read word command
|
// Start write word command
|
||||||
HOCTLA = (1 << 6) | (0b011 << 2);
|
HOCTLA = (1 << 6) | (0b011 << 2);
|
||||||
|
|
||||||
// Wait for command to start
|
// Wait for command to start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user