Extra TWI disable code. Not used yet.
This commit is contained in:
parent
6351d29d70
commit
0172cbdf8b
@ -45,6 +45,9 @@ void twi_init(void)
|
||||
|
||||
void twi_disable(void)
|
||||
{
|
||||
// disable TWI hardware.
|
||||
TWCR = 0;
|
||||
|
||||
// deactivate internal pullups for twi.
|
||||
WRITE(SDA_PIN, 0);
|
||||
WRITE(SCL_PIN, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user