mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-14 16:34:39 +12:00
Fixes
This commit is contained in:
parent
dc5f0606cb
commit
bd5d867089
6
Makefile
6
Makefile
|
@ -26,9 +26,9 @@ ifneq ($(filter unknown Darwin, $(PLATFORM)),)
|
||||||
ifeq ($(PLATFORM),apple)
|
ifeq ($(PLATFORM),apple)
|
||||||
override PLATFORM := macos
|
override PLATFORM := macos
|
||||||
endif
|
endif
|
||||||
ifeq ($(shell uname -v | grep ARM64 >/dev/null 2>&1; echo $$?),0)
|
endif
|
||||||
ARCH ?= arm64
|
ifeq ($(shell uname -v | grep ARM64 >/dev/null 2>&1; echo $$?),0)
|
||||||
endif
|
ARCH ?= arm64
|
||||||
else
|
else
|
||||||
ARCH ?= $(shell $(CXX) -dumpmachine | cut -d "-" -f 1)
|
ARCH ?= $(shell $(CXX) -dumpmachine | cut -d "-" -f 1)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -78,8 +78,8 @@ long long Cpu::ThermalSensors::getSensors() {
|
||||||
// there is also PMU tdev1-8 but it has negative values??
|
// there is also PMU tdev1-8 but it has negative values??
|
||||||
// there is also eACC for efficiency package but it only has 2 entries
|
// there is also eACC for efficiency package but it only has 2 entries
|
||||||
// and pACC for performance but it has 7 entries (2 - 9) WTF
|
// and pACC for performance but it has 7 entries (2 - 9) WTF
|
||||||
if (n.starts_with("eACC") or n.starts_with("pACC")) {
|
if (n.starts_with("eACC") or n.starts_with("pACC")) {
|
||||||
temps.push_back(getValue(sc));
|
temps.push_back(getValue(sc));
|
||||||
}
|
}
|
||||||
CFRelease(name);
|
CFRelease(name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue