@joncl said in M226 (pause) works, but seems to break layer stat graph:

Pause works fine, but I notice every point in the layer statistics graph is 0 seconds. If I comment the M226 line, layer stat graph comes back.

Please can you explain exactly what you mean, with an image of the layer stats if possible.