-
Notifications
You must be signed in to change notification settings - Fork 33
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
Massive styling, indentation and samd support #15
Conversation
Massive code indentation Massive code styling Remove compile warnings Add samd51 support
Note: one weird thing I noticed in file I kept behaviour but maybe someone should take a look at it |
We don't use the |
You should not re-style the u8g code. There is no point in doing so. We want it to mostly match the original source so that our functional changes and additions stand out. |
@thinkyhead that's ok, I'll only add samd51 parts. What about note I wrote? edit: and warnings fix? |
I'm going to sleep for a while. But if you have some time, take a look through the latest u8glib code at the original github repo and see what changes have been made in that area. Maybe the confusion was cleared up at some point. Your effort to clean up the code is much appreciated, and I have wanted to do such a thing myself. But it tends to make changes versus the original code hard to follow, and also I didn't want to use up a whole day when there's so much else to do. Please hold on to those formatting changes, and after a little while we probably ought to merge them, if only to make working with the u8g code less painful. |
ok, what is need to me is samd51 integrarion (if allowed) and I'll post just that. |
also it seems Marlin uses bugfix, not dev. Am I wrong? |
If you wish I may do a "indentation" only PR |
That is correct. The release of 2.0.x will point to |
After I evaluate the SAMD51 patch, assuming all is well, I'm okay with merging all of the changes here. If I can arrange the changes in a way that makes it easier to pick out our custom changes, then I will do that after the patch. |
@thinkyhead I'll leave code available if/when you want to check/use it, but please take a look at what I wrote on "Note" in 2nd post. It seems that current code uses a different init sequence just for 1 function while the whole code uses the "activated" one. |
Are you sure this is a U8glib-HAL change and not an issue from the original U8glib? |
Massive code indentation
Massive code styling
Remove compile warnings
Add samd51 support