Add USB stub, add logging using spdlog
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
#include "Usb.hpp"
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
using namespace ptprnt;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
std::cout << "Hello ptprnt!" << std::endl;
|
||||
spdlog::info("Starting ptprnt {}", PROJ_VERSION);
|
||||
|
||||
auto usb = std::make_unique<driver::Usb>();
|
||||
auto devs = usb->listDevices();
|
||||
@@ -24,4 +26,5 @@ int main(int argc, char** argv) {
|
||||
printer::info info = printer->getInfo();*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user