I try to integrate uGui into micropython when I saw these small issues. In my opinion a string which is not modified in the receiving function should be declared as const. This is as well needed by the function which call the ugui function where I receive a const char *. Further there are some small fixes which satisfy a picky gcc. I have a little bit problem with this latin-1 encoded file in eclipse and some fixes below show, that others had it, too. Why not just use the regular ASCII set?
I try to integrate uGui into micropython when I saw these small issues. In my opinion a string which is not modified in the receiving function should be declared as const. This is as well needed by the function which call the ugui function where I receive a
const char *
. Further there are some small fixes which satisfy a picky gcc. I have a little bit problem with this latin-1 encoded file in eclipse and some fixes below show, that others had it, too. Why not just use the regular ASCII set?