Skip to content

Commit e1694fe

Browse files
committed
fix compilation error after merging
1 parent e4dfc8d commit e1694fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virt-card/device-sim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ uint32_t device_get_tick(void) {
7070
void device_disable_irq(void) {}
7171
void device_enable_irq(void) {}
7272
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; }
73+
fm_status_t fm_write_eeprom(uint16_t addr, const uint8_t *buf, uint8_t len) { return FM_STATUS_OK; }
7474

7575
int device_atomic_compare_and_swap(volatile uint32_t *var, uint32_t expect, uint32_t update) {
7676
if (*var == expect) {

0 commit comments

Comments
 (0)