We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4dfc8d commit e1694feCopy full SHA for e1694fe
virt-card/device-sim.c
@@ -70,7 +70,7 @@ uint32_t device_get_tick(void) {
70
void device_disable_irq(void) {}
71
void device_enable_irq(void) {}
72
void device_set_timeout(void (*callback)(void), uint16_t timeout) {}
73
-fm_status_t fm_write_eeprom(uint16_t addr, const uint8_t *buf, uint8_t len) { return; }
+fm_status_t fm_write_eeprom(uint16_t addr, const uint8_t *buf, uint8_t len) { return FM_STATUS_OK; }
74
75
int device_atomic_compare_and_swap(volatile uint32_t *var, uint32_t expect, uint32_t update) {
76
if (*var == expect) {
0 commit comments