freemyipod r403 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r402‎ | r403 | r404 >
Date:21:18, 31 December 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: Make FREEZE SCHEDULER monitor command take effect immediately
Modified paths:
  • /embios/trunk/usb/usb.c (modified) (history)

Diff [purge]

Index: embios/trunk/usb/usb.c
@@ -515,6 +515,7 @@
516516 break;
517517 case 16: // FREEZE SCHEDULER
518518 dbgsendbuf[1] = scheduler_freeze(dbgrecvbuf[1]);
 519+ scheduler_switch(-1);
519520 dbgsendbuf[0] = 1;
520521 size = 16;
521522 break;