Mpcnc laser (marlin/skr 1.4 turbo) not working with inline commands

Good afternoon all
I recently finish a mpcnc project with a atomstack m100 laser module, and using the Marlin firmaware with the board skr 1.4 turbo.

I have conected my laser in the servo pin 2 (SPINDLE_LASER_PWM_PIN P2_00).

im using lightburn for postprocesing, and it works very well for cutting with m03/m05 control commands.

but i would like to start doing some engraving to however (m03/m05) control mode is not the best for engraving so i changed to (inline) but the laser is not turning on anymore.

do you guys have any idea of what could be the problem.

Create a new laser device Custom GCode option, all defaults. After you create
it in device settings select Marlin GCode Flavor


then you have access to some settings.
Don’t mess it up, do one change at a time and record and check the GCode output to see if it matches what you want. Then set the laser’s power to zero and (wearing protective glasses) check the machine’s movements. If all is well, you can then try a job.