Formatting...

This commit is contained in:
2022-11-12 18:37:24 +01:00
parent d7dfdc4739
commit f09e4ab5c8
6 changed files with 37 additions and 36 deletions

View File

@@ -11,9 +11,8 @@
using namespace ptprnt;
void setupLogger() {
spdlog::set_level(spdlog::level::debug);
spdlog::set_level(spdlog::level::debug);
spdlog::info("Starting ptprnt {}", PROJ_VERSION);
}
int main(int argc, char** argv) {
@@ -21,7 +20,7 @@ int main(int argc, char** argv) {
auto usb = std::make_shared<driver::Usb>();
auto maybeDevs = usb->getDevices();
if(!maybeDevs.has_value()) {
if (!maybeDevs.has_value()) {
spdlog::error("No USB devices found");
return -1;
}
@@ -32,6 +31,3 @@ int main(int argc, char** argv) {
return 0;
}