Re: Still more netdde problems
peter@kahn.nu, le Fri 29 Jun 2012 12:07:37 +0200, a écrit :
> I wouldn't even know how to add printk:s to the file,
Just add
printk("foobar\n");
inside the code. If it doesn't compile, move it a bit further :)
There are just a few things that you need to be aware of:
if (kjsdf)
blabla
for (ljksdf)
blabla
while(lksjdf)
blabla
Do not put a printf between the if, for, while and the line following it
unless there are braces like this:
if (lkjsdf) {
blabla
...
otherwise putting the printk there would move blabla out of the
if/for/while.
Samuel
Reply to: