From 662473b2c068d981c0dbb6e8f957b14186984c9b Mon Sep 17 00:00:00 2001 From: souldbminersmwc Date: Wed, 21 Jan 2026 18:23:30 -0500 Subject: [PATCH] sysclk: include libnx globally --- Source/sys-clk/common/include/sysclk.h | 17 +++++++++-------- Source/sys-clk/common/include/sysclk/errors.h | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Source/sys-clk/common/include/sysclk.h b/Source/sys-clk/common/include/sysclk.h index 6ba0c4a8..55cf295a 100644 --- a/Source/sys-clk/common/include/sysclk.h +++ b/Source/sys-clk/common/include/sysclk.h @@ -27,19 +27,20 @@ #pragma once #include +#include // include libnx #ifdef __cplusplus #include "cpp_util.hpp" extern "C" { #endif -typedef std::uint32_t Result; -typedef std::uint32_t u32; -typedef std::int32_t s32; -typedef std::uint64_t u64; -typedef std::int64_t s64; -typedef std::uint8_t u8; -typedef std::int16_t s16; -typedef std::uint16_t u16; +// typedef std::uint32_t Result; +// typedef std::uint32_t u32; +// typedef std::int32_t s32; +// typedef std::uint64_t u64; +// typedef std::int64_t s64; +// typedef std::uint8_t u8; +// typedef std::int16_t s16; +// typedef std::uint16_t u16; #include "sysclk/ipc.h" #include "sysclk/board.h" diff --git a/Source/sys-clk/common/include/sysclk/errors.h b/Source/sys-clk/common/include/sysclk/errors.h index f6c88b75..6ef46764 100644 --- a/Source/sys-clk/common/include/sysclk/errors.h +++ b/Source/sys-clk/common/include/sysclk/errors.h @@ -35,5 +35,5 @@ typedef enum SysClkError_Generic = 0, SysClkError_ConfigNotLoaded = 1, SysClkError_ConfigSaveFailed = 2, - HocClkError_SocThermFail = 3, + // HocClkError_SocThermFail = 3, } SysClkError;