Refactor tsensor

This commit is contained in:
Lightos1 committed 2026-05-05 20:43:43 +02:00
1 parent 9cf901d487
commit 2e39421074
14 files changed
+488 -584

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ extern "C" {
#include "hocclk/config.h"
#include "hocclk/errors.h"
#include "hocclk/psm_ext.h"
#include "hocclk/result.hpp"
#ifdef __cplusplus
}
@@ -0,0 +1,11 @@
#pragma once
#include <switch.h>
#define R_UNLESS(rc) \
do { \
if (R_FAILED(rc)) { \
return; \
} \
} while (0)
/* TODO: Add more Result macros. */