kopia lustrzana https://github.com/evil-mad/EggBot
Removed debug code, built 2.7.0 EBB firmware as 'release candidate 1'.
rodzic
ac33be1b73
commit
0b4c4a0343
|
@ -349,8 +349,6 @@ void high_ISR(void)
|
|||
// 25KHz ISR fire
|
||||
if (PIR1bits.TMR1IF)
|
||||
{
|
||||
TRISDbits.TRISD1 = 0;
|
||||
LATDbits.LATD1 = 1;
|
||||
// Clear the interrupt
|
||||
PIR1bits.TMR1IF = 0;
|
||||
TMR1H = TIMER1_H_RELOAD; //
|
||||
|
@ -571,10 +569,7 @@ LATDbits.LATD1 = 1;
|
|||
// us simpler math when figuring out how long moves will take.
|
||||
if (CurrentCommand.Steps[0] == 0 && CurrentCommand.Steps[1] == 0)
|
||||
{
|
||||
TRISCbits.TRISC0 = 0;
|
||||
LATCbits.LATC0 = 1;
|
||||
AllDone = TRUE;
|
||||
LATCbits.LATC0 = 0;
|
||||
}
|
||||
}
|
||||
if (TookStep)
|
||||
|
@ -728,8 +723,6 @@ LATDbits.LATD1 = 1;
|
|||
CurrentCommand.Command = COMMAND_NONE;
|
||||
if (!FIFOEmpty)
|
||||
{
|
||||
TRISDbits.TRISD0 = 0;
|
||||
LATDbits.LATD0 = 1;
|
||||
CurrentCommand = CommandFIFO[0];
|
||||
// Zero out command in FIFO
|
||||
CommandFIFO[0].Command = COMMAND_NONE;
|
||||
|
@ -765,7 +758,6 @@ LATDbits.LATD0 = 1;
|
|||
}
|
||||
}
|
||||
FIFOEmpty = TRUE;
|
||||
LATDbits.LATD0 = 0;
|
||||
}
|
||||
else {
|
||||
CurrentCommand.DelayCounter = 0;
|
||||
|
@ -786,7 +778,6 @@ LATDbits.LATD0 = 0;
|
|||
ButtonPushed = TRUE;
|
||||
}
|
||||
}
|
||||
LATDbits.LATD1 = 0;
|
||||
}
|
||||
|
||||
// Init code
|
||||
|
|
|
@ -169,8 +169,6 @@ void main(void)
|
|||
USBDeviceAttach();
|
||||
}
|
||||
#endif
|
||||
TRISAbits.TRISA1 = 0;
|
||||
LATAbits.LATA1 = 1;
|
||||
#if defined(USB_POLLING)
|
||||
// Check bus status and service USB interrupts.
|
||||
USBDeviceTasks(); // Interrupt or polling method. If using polling, must call
|
||||
|
@ -187,8 +185,6 @@ void main(void)
|
|||
// execute (~50 instruction cycles) before it returns.
|
||||
#endif
|
||||
|
||||
LATAbits.LATA1 = 0;
|
||||
|
||||
// Application-specific tasks.
|
||||
// Application related code may be added here, or in the ProcessIO() function.
|
||||
ProcessIO();
|
||||
|
|
Plik binarny nie jest wyświetlany.
|
@ -1,5 +1,5 @@
|
|||
MPLINK 5.00, LINKER
|
||||
Linker Map File - Created Sun Nov 01 19:29:16 2020
|
||||
Linker Map File - Created Wed Nov 18 16:00:49 2020
|
||||
|
||||
Section Info
|
||||
Section Type Address Location Size(Bytes)
|
||||
|
|
Ładowanie…
Reference in New Issue