diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-08-04 13:54:31 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-08-04 13:54:31 +0300 |
| commit | 72d588cc691d91e72fefb9f33e4e614fc5c359de (patch) | |
| tree | 51eac8fc5d13449c9bd3c3f25009fdd6100d426e /Software | |
| parent | 527347ce120d98da31805688f06f763f18264171 (diff) | |
| download | Tango-72d588cc691d91e72fefb9f33e4e614fc5c359de.tar.gz Tango-72d588cc691d91e72fefb9f33e4e614fc5c359de.zip | |
Use Check_IFS_Availability instead of Init_IFS
Diffstat (limited to 'Software')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/I2C_IFS_Mux.c | 10 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Main.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/I2C_IFS_Mux.c b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/I2C_IFS_Mux.c index d70fd0949..9be6a90b9 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/I2C_IFS_Mux.c +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/I2C_IFS_Mux.c @@ -94,7 +94,7 @@ uint32_t Select_Main_I2C_RFID_Channel(PANEL_BUTTON_OR_CRAT_ID Cart_ID) // // return status; //} -/* + uint32_t Reset_and_Check_IFS_Availability(PANEL_BUTTON_OR_CRAT_ID Cart_ID) { uint32_t status = OK; @@ -121,7 +121,7 @@ uint32_t Reset_and_Check_IFS_Availability(PANEL_BUTTON_OR_CRAT_ID Cart_ID) if((Read_Buf[0] == 0x40) && (Read_Buf[1] == 0x00) && (Read_Buf[2] == 0x03) && (Read_Buf[3] == 0x00) && (Read_Buf[4] == 0x11) && (Read_Buf[5] == 0x01))//PN7150 RESET RESPONSE { - IFS_Availability[Cart_ID-1] = IFS_RECOGNIZED; + IFS_Availability[Cart_ID-1] = IFS_RECOGNIZED_INIT_PASSED; } else { @@ -142,8 +142,8 @@ uint32_t Reset_and_Check_IFS_Availability(PANEL_BUTTON_OR_CRAT_ID Cart_ID) return status; } -*/ -/* + + uint32_t Check_IFS_Availability() { uint32_t status = OK; @@ -159,4 +159,4 @@ uint32_t Check_IFS_Availability() Active_RFID_Reader = CART_2; // temporary !!!!! return status; } -*/ + diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c index ccda43cfd..66db76348 100644 --- a/Software/Embedded_SW/Embedded/Main.c +++ b/Software/Embedded_SW/Embedded/Main.c @@ -294,7 +294,7 @@ int main(void) STATUS_GREEN_LED_ON; FPGA_Init(); - Init_IFS();//must be done after FPGA_Init + Check_IFS_Availability();//Init_IFS();//must be done after FPGA_Init #endif MAP_FPULazyStackingEnable(); |
