I am trying to edit the timer of heartbeat trigger on RPi Zero. I have found original .c file of kernel driver here https://github.com/raspberrypi/linux/blob/rpi-5.4.y/drivers/leds/trigger/ledtrig-heartbeat.c. But when I look into my Pi's kernel drivers, in directory with triggers
/lib/modules/5.4.51+/kernel/drivers/leds/trigger there are only three triggers and none of them are heartbeat :
ledtrig-camera.ko ledtrig-netdev.ko ledtrig-transient.ko. So I am assuming the heartbeat trigger is defined elsewhere.
Where can I find and edit the heartbeat trigger of led ?