fix error

This commit is contained in:
thomas-ha 2016-03-23 10:16:06 +01:00
parent 199b1b5316
commit 4e446bc178

View File

@ -961,7 +961,7 @@ get_object(radio_param_t param, void *dest, size_t size)
if(size != sizeof(rtimer_clock_t) || !dest) {
return RADIO_RESULT_INVALID_VALUE;
}
*(rtimer_clock_t*)dest = cc2538_sfd_rtime;
*(rtimer_clock_t*)dest = get_sfd_timestamp();
return RADIO_RESULT_OK;
}