That code tells nothing to me, it is so simple that I didn't need to comment about it and pointer you to the general solution for this kind of problems.
About where, here, all articles are here:
http://www.chibios.org/dokuwiki/doku.ph ... cles:startAll the documentation is here:
http://www.chibios.org/dokuwiki/doku.ph ... tion:startThe notes referred in that article are here:
http://www.chibios.org/dokuwiki/doku.ph ... texm_notesThis is not the first time you come here complaining about the quality of the free support you are getting, I really suggest you put things in perspective, I am not getting paid to provide this service to you, if you have a customer id then please follow the proper channels.
If you find problems with the code or the documentation then the proper way is to post in "bug reports" about the problem without adding sarcastic comments.
In addition, when asking for support, I recommend, at very least, to specify what platform you are using and other relevant information like versions, compiler, environment etc.
Giovanni