Changeset 33012


Ignore:
Timestamp:
Aug 5, 2017, 12:42:38 AM (3 weeks ago)
Author:
brainslayer
Message:

message spam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/rc/watchdog.c

    r31994 r33012  
    203203                target *= 4000;
    204204                target /= 10000;
    205                 if (target)
     205                if (target != lasttarget) {
    206206                        fprintf(stderr, "set fan to %d\n", target);
    207                 if (target != lasttarget) {
    208207                        sysprintf("/bin/echo %d > /sys/class/hwmon/hwmon0/device/fan1_target", target);
    209208                        lasttarget = target;
Note: See TracChangeset for help on using the changeset viewer.