mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 10:42:49 +00:00
remove newline from logging statements. (#5022)
remove newline from logging statements in code. The LOG_* functions will now magically add it at the end. --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
@@ -62,14 +62,14 @@ class AccelerometerThread : public concurrency::OSThread
|
||||
return;
|
||||
|
||||
if (device.address.port == ScanI2C::I2CPort::NO_I2C || device.address.address == 0 || device.type == ScanI2C::NONE) {
|
||||
LOG_DEBUG("AccelerometerThread disabling due to no sensors found\n");
|
||||
LOG_DEBUG("AccelerometerThread disabling due to no sensors found");
|
||||
disable();
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef RAK_4631
|
||||
if (!config.display.wake_on_tap_or_motion && !config.device.double_tap_as_button_press) {
|
||||
LOG_DEBUG("AccelerometerThread disabling due to no interested configurations\n");
|
||||
LOG_DEBUG("AccelerometerThread disabling due to no interested configurations");
|
||||
disable();
|
||||
return;
|
||||
}
|
||||
@@ -106,7 +106,7 @@ class AccelerometerThread : public concurrency::OSThread
|
||||
if (!isInitialised) {
|
||||
clean();
|
||||
}
|
||||
LOG_DEBUG("AccelerometerThread::init %s\n", isInitialised ? "ok" : "failed");
|
||||
LOG_DEBUG("AccelerometerThread::init %s", isInitialised ? "ok" : "failed");
|
||||
}
|
||||
|
||||
// Copy constructor (not implemented / included to avoid cppcheck warnings)
|
||||
|
||||
Reference in New Issue
Block a user