Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
dangfan committed Dec 14, 2024
1 parent a6169fa commit 65a48bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt-card/device-sim.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ uint32_t device_get_tick(void) {
void device_disable_irq(void) {}
void device_enable_irq(void) {}
void device_set_timeout(void (*callback)(void), uint16_t timeout) {}
void 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; }

int device_atomic_compare_and_swap(volatile uint32_t *var, uint32_t expect, uint32_t update) {
if (*var == expect) {
Expand Down

0 comments on commit 65a48bc

Please sign in to comment.