Your code should have a G21 for Metric or a G20 for Inch, it will be in the first few lines of code but it's easy to search for,

- Nick