Skip to content

Commit 7decd05

Browse files
committed
Fix Makefile.pmd85 to use wildcard not find
1 parent 47ca81d commit 7decd05

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile.pmd85

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SRC_DIRS ?= ./src
66
CC=zcc
77
AS=zcc
88

9-
SRCS := $(shell find $(SRC_DIRS) -name *.cpp -or -name *.c -or -name *_pmd85.asm)
9+
SRCS := $(wildcard $(SRC_DIRS)/*.c) $(wildcard $(SRC_DIRS)/pmd85/*.c)
1010
OBJS := $(SRCS:%=$(BUILD_DIR)/%.o)
1111
DEPS := $(OBJS:.o=.d)
1212

src/hosts_and_devices.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ void hosts_and_devices(void)
271271
hd_subState = HD_HOSTS;
272272

273273
#ifdef BUILD_PMD85
274-
io_get_host_slots(hostSlots);
275-
io_get_device_slots(deviceSlots);
276-
io_update_devices_enabled(deviceEnabled);
274+
fuji_get_host_slots(hostSlots, NUM_HOST_SLOTS);
275+
fuji_get_device_slots(deviceSlots, NUM_DEVICE_SLOTS);
276+
fuji_update_devices_enabled(deviceEnabled, NUM_DEVICE_SLOTS);
277277
screen_hosts_and_devices(hostSlots, deviceSlots, deviceEnabled);
278278
#endif
279279

File renamed without changes.

0 commit comments

Comments
 (0)