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

NoritakeVFD Patch Cursor #30

Merged
merged 4 commits into from
Dec 29, 2016
Merged

Conversation

hoblins
Copy link
Contributor

@hoblins hoblins commented Dec 16, 2016

The positioning of the cursor was not working correctly. Beside other fixes the rows and columns were inverted in the initial code.
Tested with CU20045SCPB-T31A.

The positioning of the cursor was not working correctly. Beside other fixes the rows and columns were inverted in the initial code.
Tested with CU20045SCPB-T31A.
@@ -412,7 +412,7 @@ NoritakeVFD_chr (Driver *drvthis, int x, int y, char c)
* \param string String that gets written.
*/
MODULE_EXPORT void
NoritakeVFD_string (Driver *drvthis, int x, int y, const char string[])
NoritakeVFD_string (Driver *drvthis, int x, int y, unsigned char string[])
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

It should be "const unsigned char" at least. However the API documentation quite clearly requires "const char" - maybe this is a bad idea. But then we should change this properly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just took this change from another driver.
But I can update the commit and test the corrections by the end of next week.

@haraldg
Copy link
Collaborator

haraldg commented Dec 22, 2016

@hoblins Are you going to update or comment this PR?

I want to merge this PR before I tag the release and would edit this patch myself if you are not working on it.

@hoblins
Copy link
Contributor Author

hoblins commented Dec 29, 2016

Made changes remarked by haraldg and tested with CU20045SCPB-T31A.

@haraldg haraldg merged commit b48b5b0 into lcdproc:master Dec 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants