Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.1.x] G33 magic numbers #8173

Merged

Conversation

LVD-AC
Copy link
Contributor

@LVD-AC LVD-AC commented Oct 30, 2017

see remarks in #8137

@LVD-AC LVD-AC mentioned this pull request Oct 30, 2017
@LVD-AC LVD-AC changed the title [1.1.x] G33 mistery names [1.1.x] G33 magic numbers Oct 30, 2017
Copy link
Member

@thinkyhead thinkyhead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Just a couple tweaks requested. Same will apply to the 2.0.x version.

Marlin/enum.h Outdated
__C = _BC + _7P_STEP,
_CA = __C + _7P_STEP,
NPP = _7P_STEP * 6 // number of calibration points on the radius
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really the proper use of enum. I would recommend doing these as constexpr uint8_t instead.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As these are only used by G33, they would be better defined just above the G33 function in the .cpp file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reworked this

@LVD-AC
Copy link
Contributor Author

LVD-AC commented Oct 31, 2017

doc is changed in #89 to reflect extra probe grids

@thinkyhead thinkyhead merged commit 0e4b6b3 into MarlinFirmware:bugfix-1.1.x Nov 3, 2017
@LVD-AC LVD-AC deleted the (1.1.x)G33-mistery-names branch November 8, 2017 07:53
mtm88001 pushed a commit to mtm88001/Marlin that referenced this pull request Dec 9, 2017
* [1.1.x] G33 magic numbers

* oops

* comments

* oops

* warning

* better comment section

* remarks

* extra grids
damicreabox pushed a commit to damicreabox/Marlin that referenced this pull request Sep 14, 2018
* [1.1.x] G33 magic numbers

* oops

* comments

* oops

* warning

* better comment section

* remarks

* extra grids
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants