X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusart%2FMsp430I2CP.nc;h=a3c59539bf81966a275d36620da1011387c74822;hb=337d0b13acf569c2640b3ed7b7f5c7cec35d7ddd;hp=ff1635085cb019b880a0aff4b6088f802875921d;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usart/Msp430I2CP.nc b/tos/chips/msp430/usart/Msp430I2CP.nc index ff163508..a3c59539 100644 --- a/tos/chips/msp430/usart/Msp430I2CP.nc +++ b/tos/chips/msp430/usart/Msp430I2CP.nc @@ -99,7 +99,7 @@ implementation { default async command error_t UsartResource.immediateRequest[ uint8_t id ]() { return FAIL; } default async command error_t UsartResource.release[ uint8_t id ]() {return FAIL;} default event void Resource.granted[ uint8_t id ]() {} - default async command msp430_i2c_config_t* Msp430I2CConfigure.getConfig[uint8_t id]() { + default async command msp430_i2c_union_config_t* Msp430I2CConfigure.getConfig[uint8_t id]() { return &msp430_i2c_default_config; }