Marlin: [BUG] The M115 command does not work

Created on 9 May 2020  路  11Comments  路  Source: MarlinFirmware/Marlin

The M115 command does not work in the current version of Marlin bugfix 2.0

if allowed

define M115_GEOMETRY_REPORT

related to the repair #16741

Most helpful comment

There was an infinite loop in some recently added print macros. I've posted a PR to fix it.
@radek8 if you need to use this feature you can look at the PR linked above and easily implement the change yourself.

All 11 comments

Please follow the Issue Template when filing a bug report so we don't have to hunt for information.

### Description

<!-- Description of the bug or requested feature -->

### Steps to Reproduce

<!-- If this is a Bug Report, please describe the steps needed to reproduce the issue -->

1. [First Step]
2. [Second Step]
3. [and so on...]

**Expected behavior:** [What you expect to happen]

**Actual behavior:** [What actually happens]

#### Additional Information

* Include a ZIP file containing your `Configuration.h` and `Configuration_adv.h` files.
* Provide pictures or links to videos that clearly demonstrate the issue.
* See [How Can I Contribute](#how-can-i-contribute) for additional guidelines.

A device that communicates via the serial port and calls the M115 command, for example the TFT display, does not work when the function is enabled

define M115_GEOMETRY_REPORT

Expected behavior:

M115 dis

Actual behavior:

M115 eror

Post your configs.

Please follow the Issue Template.

Post your configs.

no need to send configuration
by commenting #define M115_GEOMETRY_REPORT
output M115 is OK
@guruathwal should check if the settings work as intended.

Every issue should have configs posted. Not posting configs requires someone to waste their time creating their own configs which may or may not exhibit the same issue.

If you won鈥檛 spend the time to post your configs, why should someone else spend their time trying to help?

Configuration

config.zip

OK, I've reproduced it. That is some pretty hilarious output. Far more entertaining than I expected.

There was an infinite loop in some recently added print macros. I've posted a PR to fix it.
@radek8 if you need to use this feature you can look at the PR linked above and easily implement the change yourself.

@radek8 the fix for this has been merged into bugfix-2.0.x. Please try it out and close the issue once you verify it is fixed.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings