File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -202,15 +202,15 @@ uchar ispEnterProgrammingMode() {
202202
203203 if (check == 0x53 ) {
204204 /* Don't bump up speed to 3 Mhz */
205- if (prog_sck < USBASP_ISP_SCK_1500 ){
205+ // if(prog_sck < USBASP_ISP_SCK_1500){
206206
207- /* bump up speed now that programming mode is enabled */
208- /* http://nerdralph.blogspot.com/2020/09/recording-reset-pin.html */
209- spiHWdisable ();
210- ispSetSCKOption (prog_sck + 1 );
211- if (ispTransmit == ispTransmit_hw ) spiHWenable ();
207+ // / * bump up speed now that programming mode is enabled */
208+ // / * http://nerdralph.blogspot.com/2020/09/recording-reset-pin.html */
209+ // spiHWdisable();
210+ // ispSetSCKOption(prog_sck + 1);
211+ // if (ispTransmit == ispTransmit_hw) spiHWenable();
212212
213- }
213+ // }
214214 return 0 ;
215215 }
216216
@@ -225,8 +225,9 @@ uchar ispEnterProgrammingMode() {
225225 spiTx (0 );
226226 check = spiTx (0 );
227227
228- if (check == 0x69 )
228+ if (check == 0x69 ){
229229 return 0 ;
230+ }
230231
231232 } while (-- tries );
232233
You can’t perform that action at this time.
0 commit comments