2026-02-01 16:01:18 +01:00

14 lines
203 B
C

// platform_detect.h
#pragma once
#include "esp_system.h"
#include "sdkconfig.h"
static inline bool platform_is_pc(void) {
#if CONFIG_IDF_TARGET_LINUX
return true;
#else
return false;
#endif
}