Slightly larger delay

This commit is contained in:
Jeroen Domburg 2017-07-22 11:19:39 +08:00
parent cca0d7fbbe
commit 1ea57a1541
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
#define ADNS_CS 22 #define ADNS_CS 22
//#define DELAY() asm("nop; nop; nop; nop;nop; nop; nop; nop;nop; nop; nop; nop;nop; nop; nop; nop;") //#define DELAY() asm("nop; nop; nop; nop;nop; nop; nop; nop;nop; nop; nop; nop;nop; nop; nop; nop;")
#define DELAY() ets_delay_us(10); #define DELAY() ets_delay_us(20);
static void adnsWrite(int adr, int val) { static void adnsWrite(int adr, int val) {
int data=((adr|0x80)<<8)|val; int data=((adr|0x80)<<8)|val;