refactor: Entire code base, thread and log usage
Boils down to: - Include headers - Reduce boiler plate with helpers - Swap out explicit usages with core API layer and ensure the right API is configured beforehand
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#define LOG_MODULE "ezusb-iidx"
|
||||
|
||||
#include "core/log.h"
|
||||
|
||||
#include "ezusb-iidx/ezusb-iidx.h"
|
||||
|
||||
#include "ezusb/ezusbsys2.h"
|
||||
|
||||
#include "util/hex.h"
|
||||
#include "util/log.h"
|
||||
#include "util/time.h"
|
||||
|
||||
#include "msg.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "util/log.h"
|
||||
#include "core/log.h"
|
||||
|
||||
#include "ezusb-iidx.h"
|
||||
#include "fpga-cmd.h"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#define LOG_MODULE "ezusb-iidx-sram"
|
||||
|
||||
#include "ezusb-iidx/sram.h"
|
||||
#include "core/log.h"
|
||||
|
||||
#include "util/log.h"
|
||||
#include "ezusb-iidx/sram.h"
|
||||
|
||||
#include "ezusb-iidx.h"
|
||||
#include "sram-cmd.h"
|
||||
|
||||
Reference in New Issue
Block a user