diff --git a/demos/applications/telemetry-recorder.cpp b/demos/applications/telemetry-recorder.cpp index c40a913..c1da37e 100644 --- a/demos/applications/telemetry-recorder.cpp +++ b/demos/applications/telemetry-recorder.cpp @@ -69,7 +69,7 @@ hal::status application(hardware_map& p_map) auto telemetry_recorder_data = HAL_CHECK(telemetry_recorder.record()); if (telemetry_recorder_data.gps_locked == false){ - hal::print(console, "!!!GPS not locked!!!\n"); + hal::print(console, "!!!GPS not fully locked!!!\n"); }else{ hal::print(console, "GPS locked\n"); auto gps_offset = HAL_CHECK(telemetry_recorder.gps_baro_altitude_offset()); diff --git a/demos/platforms/lpc4078.cpp b/demos/platforms/lpc4078.cpp index 61c4693..231baae 100644 --- a/demos/platforms/lpc4078.cpp +++ b/demos/platforms/lpc4078.cpp @@ -57,16 +57,18 @@ hal::result initialize_platform() .baud_rate = 115200, })); + static auto i2c = HAL_CHECK((hal::lpc40::i2c::get(2, + hal::i2c::settings{ + .clock_rate = 100.0_kHz, + }))); + static auto uart3 = HAL_CHECK(hal::lpc40::uart::get(3, uart3_buffer, hal::serial::settings{ - .baud_rate = 9600, + .baud_rate = 38400, })); - static auto i2c = HAL_CHECK((hal::lpc40::i2c::get(2, - hal::i2c::settings{ - .clock_rate = 100.0_kHz, - }))); + return hardware_map{ .console = &uart0,