Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.3.2 #31

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ smctemp -c
## Usage
```console
$ smctemp -h
Check Temperature by using Apple System Management Control (Smc) tool 0.3.1
Check Temperature by using Apple System Management Control (Smc) tool 0.3.2
Usage:
./smctemp [options]
-c : list CPU temperatures (Celsius)
Expand Down
2 changes: 1 addition & 1 deletion smctemp.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define COUNT_OF(x) ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))

namespace smctemp {
const std::string kVersion = "0.3.1";
const std::string kVersion = "0.3.2";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[cpplint] reported by reviewdog 🐶
For a static/global string constant, use a C style string instead: "const char kVersion[]". [runtime/string] [4]

constexpr char kIOAppleSmcHiddenClassName[] = "AppleSMC";
constexpr char kSmcCmdReadBytes = 5;
constexpr char kSmcCmdReadIndex = 8;
Expand Down
Loading