Line data Source code
1 : #include "SIM_RAMTRON_FM25V02.h" 2 : 3 : #if AP_SIM_RAMTRON_FM25V02_ENABLED 4 : 5 : using namespace SITL; 6 : 7 3 : void RAMTRON_FM25V02::fill_rdid(uint8_t *buffer, uint8_t len) 8 : { 9 3 : memcpy(buffer, &manufacturer, ARRAY_SIZE(manufacturer)); 10 3 : buffer[7] = id1(); 11 3 : buffer[8] = id2(); 12 3 : } 13 : 14 : #endif // AP_SIM_RAMTRON_FM25V02_ENABLED