mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 23:11:19 +01:00
cpu/atmega_common: Updated i2c_release()
This commit is contained in:
parent
5bba339a7c
commit
454d25ae68
@ -226,12 +226,11 @@ int i2c_acquire(i2c_t dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int i2c_release(i2c_t dev)
|
||||
void i2c_release(i2c_t dev)
|
||||
{
|
||||
assert(dev < I2C_NUMOF);
|
||||
|
||||
mutex_unlock(&locks[dev]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void i2c_poweron(i2c_t dev)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user