Run clang-format
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled

`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
This commit is contained in:
GaryOderNichts
2024-10-03 21:35:22 +02:00
committed by Dave Murphy
parent 4f18f8041a
commit 2c98cc91aa
306 changed files with 11553 additions and 9866 deletions

View File

@@ -1,11 +1,11 @@
#include <coreinit/systeminfo.h>
#include <coreinit/thread.h>
#include <coreinit/time.h>
#include <coreinit/systeminfo.h>
#include <nn/ac.h>
#include <whb/proc.h>
#include <whb/log.h>
#include <whb/log_console.h>
#include <whb/proc.h>
#include <thread>
@@ -13,7 +13,7 @@ int
hello_thread()
{
int last_tm_sec = -1;
uint32_t ip = 0;
uint32_t ip = 0;
WHBLogPrintf("Hello World from a std::thread!");
if (!nn::ac::GetAssignedAddress(&ip)) {
@@ -23,10 +23,10 @@ hello_thread()
WHBLogPrintf("My IP is: %u.%u.%u.%u",
(ip >> 24) & 0xFF,
(ip >> 16) & 0xFF,
(ip >> 8) & 0xFF,
(ip >> 0) & 0xFF);
(ip >> 8) & 0xFF,
(ip >> 0) & 0xFF);
while(WHBProcIsRunning()) {
while (WHBProcIsRunning()) {
OSCalendarTime tm;
OSTicksToCalendarTime(OSGetTime(), &tm);