better solution in this case: let not return usb_hidkb_getChars()
newly allocated structure, but instead the user should provide
memory for the structure and let him pass a pointer to that structure
to the function (but i didn't want to change the interface so far)
y = STDOUT_BORDER_TOP;
}
}
y = STDOUT_BORDER_TOP;
}
}
if(j > 0) { /* when there was any printable stuff, show it */
print_str_noscroll(old_x, old_y, str);
printf("y: %d\n", y);
if(j > 0) { /* when there was any printable stuff, show it */
print_str_noscroll(old_x, old_y, str);
printf("y: %d\n", y);