![](/media/cache/profiles/IMG_2753.JPG.50x50_q85.jpg)
Can_open_slavenode
Diff: framework/driver/mbed/can_mbed.cpp
- Revision:
- 4:a0557653428b
- Parent:
- 2:e0be90742924
--- a/framework/driver/mbed/can_mbed.cpp Mon May 30 09:56:35 2011 +0000 +++ b/framework/driver/mbed/can_mbed.cpp Wed Jun 01 15:12:07 2011 +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;