Fixed bug in qnap-ec-helper.c file

This commit is contained in:
Stonyx
2022-08-26 17:21:08 -04:00
parent 12e65239a7
commit 2fc1d8298f
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
Package: QNAP-EC
Version: 1.1.1
Version: 1.1.2
Architecture: amd64
Maintainer: Stonyx <info@stonyx.com>
Description: QNAP-EC - HWMon Driver for QNAP IT8528 E.C. Chips

View File

@@ -216,7 +216,7 @@ int8_t Ini_Conf_Get_Field_Int(char* file, char* section, char* field, int32_t* v
uint32_t length)
{
// Check if the file, section, and field values are not what we expect
if (strcmp(file, "/etc/model.conf") || strcmp(section, "System IO") ||
if (strcmp(file, "/etc/model.conf") || strcmp(section, "System Enclosure") ||
strcmp(field, "MAX_CPU_FAN_NUM"))
{
syslog(LOG_ERR, "unexpected call to simulated Ini_Conf_Get_Field_Int function with %s, %s, "

View File

@@ -30,7 +30,7 @@
// Define module details
MODULE_DESCRIPTION("QNAP EC Driver");
MODULE_VERSION("1.1.1");
MODULE_VERSION("1.1.2");
MODULE_AUTHOR("Stonyx - https://www.stonyx.com/");
MODULE_LICENSE("GPL");
MODULE_PARM_DESC(val_pwm_channels, "Validate PWM channels");