Merge pull request #1817 from k0ral/fix/int-tostring

fix(raspberry-pi): Explicitly convert integers to strings
This commit is contained in:
Florian 2026-04-06 15:41:53 +00:00 committed by GitHub
commit c775c2772b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 16 deletions

View file

@ -102,23 +102,23 @@ in
target = <&thermal_trips>;
__overlay__ {
trip0: trip0 {
temperature = <${cfg.fan.temperature0}>;
hysteresis = <${cfg.fan.hysteresis0}>;
temperature = <${toString cfg.fan.temperature0}>;
hysteresis = <${toString cfg.fan.hysteresis0}>;
type = "active";
};
trip1: trip1 {
temperature = <${cfg.fan.temperature1}>;
hysteresis = <${cfg.fan.hysteresis1}>;
temperature = <${toString cfg.fan.temperature1}>;
hysteresis = <${toString cfg.fan.hysteresis1}>;
type = "active";
};
trip2: trip2 {
temperature = <${cfg.fan.temperature2}>;
hysteresis = <${cfg.fan.hysteresis2}>;
temperature = <${toString cfg.fan.temperature2}>;
hysteresis = <${toString cfg.fan.hysteresis2}>;
type = "active";
};
trip3: trip3 {
temperature = <${cfg.fan.temperature3}>;
hysteresis = <${cfg.fan.hysteresis3}>;
temperature = <${toString cfg.fan.temperature3}>;
hysteresis = <${toString cfg.fan.hysteresis3}>;
type = "active";
};
};

View file

@ -104,23 +104,23 @@ in
target = <&thermal_trips>;
__overlay__ {
trip0: trip0 {
temperature = <${cfg.fan.temperature0}>;
hysteresis = <${cfg.fan.hysteresis0}>;
temperature = <${toString cfg.fan.temperature0}>;
hysteresis = <${toString cfg.fan.hysteresis0}>;
type = "active";
};
trip1: trip1 {
temperature = <${cfg.fan.temperature1}>;
hysteresis = <${cfg.fan.hysteresis1}>;
temperature = <${toString cfg.fan.temperature1}>;
hysteresis = <${toString cfg.fan.hysteresis1}>;
type = "active";
};
trip2: trip2 {
temperature = <${cfg.fan.temperature2}>;
hysteresis = <${cfg.fan.hysteresis2}>;
temperature = <${toString cfg.fan.temperature2}>;
hysteresis = <${toString cfg.fan.hysteresis2}>;
type = "active";
};
trip3: trip3 {
temperature = <${cfg.fan.temperature3}>;
hysteresis = <${cfg.fan.hysteresis3}>;
temperature = <${toString cfg.fan.temperature3}>;
hysteresis = <${toString cfg.fan.hysteresis3}>;
type = "active";
};
};