Luis Silvio Cordova Rivadeneira
/
Can_open_slavenode
Can_open_slavenode
Diff: framework/driver/mbed/can_mbed.cpp
- Revision:
- 6:bc64031ac849
- Parent:
- 2:e0be90742924
--- a/framework/driver/mbed/can_mbed.cpp Mon May 30 09:56:59 2011 +0000 +++ b/framework/driver/mbed/can_mbed.cpp Wed Sep 26 05:43:05 2012 +0000 @@ -55,7 +55,7 @@ ******************************************************************************/ { // convert the message from a CANopen object to a mbed object - CANMessage msg(m->cob_id, (uint8_t*)m->data, m->len, static_cast<CANType>(m->rtr), CANStandard); + CANMessage msg(m->cob_id, (char*)m->data, m->len, static_cast<CANType>(m->rtr), CANStandard); // make sure the message was sent if (CANopen.write(msg) == 0){ return 0;