mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
(Phil) Minor change in initialization of device. Hopefully this will
turn the device 'on' correctly so it starts monitoring. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@192 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
552a504b87
commit
c5ccb700b2
1 file changed
+1
-1
@@ -498,7 +498,7 @@ void adm9240_init_client(struct i2c_client *client)
|
|||||||
adm9240_write_value(client,ADM9240_REG_TEMP_CONFIG,0x00);
|
adm9240_write_value(client,ADM9240_REG_TEMP_CONFIG,0x00);
|
||||||
|
|
||||||
/* Start monitoring */
|
/* Start monitoring */
|
||||||
adm9240_write_value(client,ADM9240_REG_CONFIG,0x0B);
|
adm9240_write_value(client,ADM9240_REG_CONFIG,0x01);
|
||||||
}
|
}
|
||||||
|
|
||||||
void adm9240_update_client(struct i2c_client *client)
|
void adm9240_update_client(struct i2c_client *client)
|
||||||
|
|||||||
Reference in new issue
Block a user