Skip to content
Snippets Groups Projects
Commit fb4f967b authored by fxk8y's avatar fxk8y :spider:
Browse files

Type stuff

parent 44569915
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
namespace SpiderLib {
uint32_t Time::s() { return (uint64_t)(esp_timer_get_time() / 1000000ULL); }
uint32_t Time::s() { return (uint32_t)(esp_timer_get_time() / 1000000ULL); }
uint64_t Time::ms() { return (uint64_t)(esp_timer_get_time() / 1000ULL); }
uint64_t Time::us() { return (uint64_t) esp_timer_get_time(); }
......
......@@ -13,7 +13,7 @@
// ### LIBS FOR TESTING ###
#include <cstdlib>
//#include "SpiderLib/SNTP.hpp"
#include "SpiderLib/Util.hpp"
// #include "SpiderLib/Util.hpp"
#include "SiliconTorch/CyanBusCRC.hpp"
#include "SiliconTorch/CyanBusBREAK.hpp"
// #include "SiliconTorch/CyanBusTOUT.hpp"
......@@ -27,7 +27,6 @@ CyanLight::CyanLightControl* ctrl;
void device_main() {
ESP_LOGE("TAG", "Time in s[ %d ] ms[ %lld ] µs[ %lld ]", (int)SpiderLib::Time::s, (long long int)SpiderLib::Time::ms, (long long int)SpiderLib::Time::us);
/*qthing::enable_wifi();
cfg.apply();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment