Subversion Repositories freemyipod

Rev

Rev 931 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 931 Rev 932
Line 693... Line 693...
693
                    buf[0] = 1;
693
                    buf[0] = 1;
694
                    rtc_write_datetime((const struct rtc_datetime*)&buf[1]);
694
                    rtc_write_datetime((const struct rtc_datetime*)&buf[1]);
695
                    break;
695
                    break;
696
#endif
696
#endif
697
                default:
697
                default:
698
                    buf[0] = 2;
-
 
699
#ifdef USB_HAVE_TARGET_SPECIFIC_REQUESTS
698
#ifdef USB_HAVE_TARGET_SPECIFIC_REQUESTS
700
                    if (buf[0] >= 0xffff0000)
699
                    if (buf[0] >= 0xffff0000)
701
                        len = usb_target_handle_request(buf, sizeof(buf), &addr);
700
                        len = usb_target_handle_request(buf, sizeof(buf), &addr);
-
 
701
                    else buf[0] = 2;
-
 
702
#else
-
 
703
                    buf[0] = 2;
702
#endif
704
#endif
703
                    break;
705
                    break;
704
            }
706
            }
705
            mode = enter_critical_section();
707
            mode = enter_critical_section();
706
            if (dbgstate == DBGSTATE_ASYNC)
708
            if (dbgstate == DBGSTATE_ASYNC)