This stops the legacy beahviour that was to initialise as a gen1 galileo if we
failed to find a valid dmi name. Closes #142
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
platform_type = MRAA_INTEL_GALILEO_GEN1;
plat = mraa_intel_galileo_rev_d();
} else {
- syslog(LOG_ERR, "Platform not supported, initialising as MRAA_INTEL_GALILEO_GEN1");
- platform_type = MRAA_INTEL_GALILEO_GEN1;
- plat = mraa_intel_galileo_rev_d();
+ syslog(LOG_ERR, "Platform not supported, not initialising");
+ platform_type = MRAA_UNKNOWN_PLATFORM;
}
free(line);
}