Refactor pci code

This commit is contained in:
Linus Dierheimer
2022-09-01 17:14:50 +02:00
parent f011f8851e
commit 3b316bdd3f
8 changed files with 164 additions and 133 deletions
+3 -1
View File
@@ -5,10 +5,12 @@
#include "fastfetch.h"
#define FF_GPU_TEMP_UNSET (0/0.0)
typedef struct FFGPUResult
{
FFstrbuf vendor;
FFstrbuf name;
FFstrbuf device;
FFstrbuf driver;
double temperature;
} FFGPUResult;