Files
squeezelite-esp32/components/targets/targets.c
2026-03-13 16:39:27 +00:00

12 lines
292 B
C

#include "string.h"
#include "targets.h"
const struct target_s *target_set[] = { &target_muse, &target_guition, NULL };
void target_init(char *target) {
for (int i = 0; *target && target_set[i]; i++) if (strcasestr(target_set[i]->model, target)) {
target_set[i]->init();
break;
}
}