Skip to content

Commit

Permalink
fix #25
Browse files Browse the repository at this point in the history
  • Loading branch information
esm-tmori committed Nov 29, 2020
1 parent 8a78267 commit c58165b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/device/peripheral/athrill_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void device_supply_clock_exdev(DeviceClockType *dev_clock)
{
int i;
for (i = 0; i < athrill_exdev.num; i++) {
athrill_exdev.supply_clock[athrill_exdev.num - 1](dev_clock);
athrill_exdev.supply_clock[i](dev_clock);
}
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/cpuemu.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ Std_ReturnType cpuemu_load_memmap(const char *path, MemoryAddressMapType *map)
char *filepath = (char*)memcfg_token_container.array[2].body.str.str;
void *handle = dlopen(filepath, RTLD_NOW);
if (handle == NULL) {
printf("ERROR: Can not find shared library %s\n", filepath);
printf("ERROR: Can not find shared library %s reason=%s\n", filepath, dlerror());
continue;
}
int *sizep = dlsym(handle, "ex_device_memory_size");
Expand Down

0 comments on commit c58165b

Please sign in to comment.