Added I2C settings app (#85)
This commit is contained in:
committed by
GitHub
parent
d8731eaa17
commit
c8f63adba4
@@ -31,7 +31,7 @@ static void register_and_start_system_services() {
|
||||
}
|
||||
}
|
||||
|
||||
void init(const hal::Configuration& config) {
|
||||
void initHeadless(const hal::Configuration& config) {
|
||||
#ifdef ESP_PLATFORM
|
||||
esp_init();
|
||||
#endif
|
||||
@@ -40,9 +40,13 @@ void init(const hal::Configuration& config) {
|
||||
register_and_start_system_services();
|
||||
}
|
||||
|
||||
const hal::Configuration& get_hardware_config() {
|
||||
namespace hal {
|
||||
|
||||
const Configuration& getConfiguration() {
|
||||
tt_assert(hardwareConfig != nullptr);
|
||||
return *hardwareConfig;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace hal
|
||||
|
||||
} // namespace tt
|
||||
|
||||
Reference in New Issue
Block a user