Jump to content

MIOS_Delay()


solarix
 Share

Recommended Posts

Hi Jerry,

I just have noticed, that this is an error in the cmios.h file - replace "extern void MIOS_Delay(void) __wparam;" by "extern void MIOS_Delay(unsigned char delay) __wparam;" and it should work

Be careful with MIOS_Delay(), because it will block the MIDI parser for incoming events. Once the user task is delayed by more than 20 mS, a buffer overrun could occur. Normaly I don't use MIOS_Delay at all (only for debugging), and prefer the use of a timer

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...