mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 19:47:02 +03:00
12 lines
275 B
C
12 lines
275 B
C
#include "string.h"
|
|
#include "targets.h"
|
|
|
|
const struct target_s *target_set[] = { &target_muse, 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;
|
|
}
|
|
}
|