Sam Grove
/
canopen_slavenode
CANfestival - an open source CANopen framework
Revision 6:bc64031ac849, committed 2012-09-26
- Comitter:
- sam_grove
- Date:
- Wed Sep 26 05:43:05 2012 +0000
- Parent:
- 3:1f91c44b482f
- Commit message:
- Change a typecast in can_mbed.cpp from unit8_t * to char * to fit the CANMessage constructor
Changed in this revision
framework/driver/mbed/can_mbed.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
--- a/mbed.bld Mon May 30 09:56:59 2011 +0000 +++ b/mbed.bld Wed Sep 26 05:43:05 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912 +http://mbed.org/users/mbed_official/code/mbed/builds/cd19af002ccc \ No newline at end of file