Dedicated setup.cpp to clean up main.cpp
Also includes update of timestamp calculation in Zephyr.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "main.h"
|
||||
#include "setup.h"
|
||||
|
||||
#include "pcb.h"
|
||||
#include "config.h"
|
||||
@@ -28,8 +28,6 @@ const char* const firmware_version = "0.1";
|
||||
const char* const firmware_commit = COMMIT_HASH;
|
||||
uint32_t device_id = CONFIG_DEVICE_ID;
|
||||
|
||||
extern uint32_t timestamp;
|
||||
|
||||
#if CONFIG_LV_TERMINAL_BATTERY
|
||||
#define bat_bus lv_bus
|
||||
#elif CONFIG_HV_TERMINAL_BATTERY
|
||||
|
||||
Reference in New Issue
Block a user