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

refactor: rename and sort sensor variable #28

Merged
merged 3 commits into from
May 1, 2024
Merged

Conversation

narugit
Copy link
Owner

@narugit narugit commented May 1, 2024

About

  • Rename sensor name to match with actual sensor name
  • Sort sensor variable in ASCII ascending order

smctemp.h Outdated
constexpr UInt32Char_t kSensorTc0e = "TC0E"; // CPU PECI die filtered temperature
constexpr UInt32Char_t kSensorTc0f = "TC0F"; // CPU PECI die temperature filtered then adjusted
constexpr UInt32Char_t kSensorTc0p = "TC0P"; // CPU proximity temperature
constexpr UInt32Char_t kSensorTC0D = "TC0D"; // CPU die temperature
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 🐶
At least two spaces is best between code and comments [whitespace/comments] [2]

smctemp.h Outdated
constexpr UInt32Char_t kSensorTc0f = "TC0F"; // CPU PECI die temperature filtered then adjusted
constexpr UInt32Char_t kSensorTc0p = "TC0P"; // CPU proximity temperature
constexpr UInt32Char_t kSensorTC0D = "TC0D"; // CPU die temperature
constexpr UInt32Char_t kSensorTC0E = "TC0E"; // CPU PECI die filtered temperature
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 🐶
At least two spaces is best between code and comments [whitespace/comments] [2]

smctemp.h Outdated
constexpr UInt32Char_t kSensorTc0p = "TC0P"; // CPU proximity temperature
constexpr UInt32Char_t kSensorTC0D = "TC0D"; // CPU die temperature
constexpr UInt32Char_t kSensorTC0E = "TC0E"; // CPU PECI die filtered temperature
constexpr UInt32Char_t kSensorTC0F = "TC0F"; // CPU PECI die temperature filtered then adjusted
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 🐶
At least two spaces is best between code and comments [whitespace/comments] [2]

smctemp.h Outdated
constexpr UInt32Char_t kSensorTC0D = "TC0D"; // CPU die temperature
constexpr UInt32Char_t kSensorTC0E = "TC0E"; // CPU PECI die filtered temperature
constexpr UInt32Char_t kSensorTC0F = "TC0F"; // CPU PECI die temperature filtered then adjusted
constexpr UInt32Char_t kSensorTC0P = "TC0P"; // CPU proximity temperature
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 🐶
At least two spaces is best between code and comments [whitespace/comments] [2]

@narugit narugit merged commit e1dc4a0 into main May 1, 2024
2 checks passed
@narugit narugit deleted the fix/refactor_sensor_name branch May 1, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant