Prusa MINI Firmware overview
Collaboration diagram for Hooks:

Hooks are undefined by default, define them to a function if you need them.