ardupilot/libraries/SITL/SIM_RAMTRON_FM25V02.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
309 B
C++
Raw Normal View History

2021-07-12 22:37:51 -03:00
#include "SIM_RAMTRON_FM25V02.h"
#if AP_SIM_RAMTRON_FM25V02_ENABLED
2021-07-12 22:37:51 -03:00
using namespace SITL;
void RAMTRON_FM25V02::fill_rdid(uint8_t *buffer, uint8_t len)
{
memcpy(buffer, &manufacturer, ARRAY_SIZE(manufacturer));
buffer[7] = id1();
buffer[8] = id2();
}
#endif // AP_SIM_RAMTRON_FM25V02_ENABLED