summaryrefslogtreecommitdiffstats
path: root/core/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/macos.c')
-rw-r--r--core/macos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/macos.c b/core/macos.c
index 686aeaac6..e9ab7b8a8 100644
--- a/core/macos.c
+++ b/core/macos.c
@@ -144,7 +144,8 @@ int enumerate_devices(device_callback_t callback, void *userdata, int dc_type)
}
while ((ep = readdir(dp)) != NULL) {
- if (fnmatch("UEMISSDA", ep->d_name, 0) == 0) {
+ if (fnmatch("UEMISSDA", ep->d_name, 0) == 0 ||
+ fnmatch("GARMIN", ep->d_name, 0) == 0) {
char filename[1024];
int n = snprintf(filename, sizeof(filename), "%s/%s", dirname, ep->d_name);
if (n >= (int)sizeof(filename)) {