SPI close

This commit is contained in:
alan
2019-05-23 12:01:32 +08:00
parent 5c0c748f77
commit ff39cb1387
2 changed files with 2 additions and 1 deletions
@@ -483,6 +483,7 @@ bool flag_start = false;
/*==============================
==== headstage instruction ====
=============================*/
static bool OpenSPI = false;
#define STI_MODE_DISABLE 0
#define STI_MODE_POS 1
@@ -929,7 +929,7 @@ static uint16_t connectionHandle;
/**
* initialize parameter and device.
*/
static bool OpenSPI = false;
static bool SPI_flush = TRUE;
static void SPI_init(){
SPI_init();