oryp6: more aggressive fan curve

This commit is contained in:
Jeremy Soller 2020-06-24 09:16:41 -06:00
parent 0ba1276f96
commit 1a8e1529cc
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 16 additions and 5 deletions

View File

@ -25,6 +25,17 @@ CFLAGS+=-DI2C_SMBUS=I2C_4
# Set touchpad PS2 bus # Set touchpad PS2 bus
CFLAGS+=-DPS2_TOUCHPAD=PS2_3 CFLAGS+=-DPS2_TOUCHPAD=PS2_3
# Custom fan curve
CLFAGS+=-DBOARD_HEATUP=5
CFLAGS+=-DBOARD_COOLDOWN=20
CFLAGS+=-DBOARD_FAN_POINTS="\
FAN_POINT(65, 40), \
FAN_POINT(70, 60), \
FAN_POINT(75, 75), \
FAN_POINT(80, 90), \
FAN_POINT(85, 100) \
"
# Set smart charger parameters # Set smart charger parameters
CFLAGS+=\ CFLAGS+=\
-DCHARGER_CHARGE_CURRENT=1536 \ -DCHARGER_CHARGE_CURRENT=1536 \

View File

@ -32,11 +32,11 @@ struct FanPoint {
// Fan curve with temperature in degrees C, duty cycle in percent // Fan curve with temperature in degrees C, duty cycle in percent
static struct FanPoint __code FAN_POINTS[] = { static struct FanPoint __code FAN_POINTS[] = {
FAN_POINT(70, 40), FAN_POINT(65, 40),
FAN_POINT(75, 50), FAN_POINT(70, 60),
FAN_POINT(80, 60), FAN_POINT(75, 75),
FAN_POINT(85, 65), FAN_POINT(80, 90),
FAN_POINT(90, 65) FAN_POINT(85, 100)
}; };
// Get duty cycle based on temperature, adapted from // Get duty cycle based on temperature, adapted from