test version 0.2

Dependents:   SC18IS606_Hello SC18IS606_EEPROM_access_test SC18IS606_OS6_Hello

Files at this revision

API Documentation at this revision

Comitter:
okano
Date:
Fri Jul 23 05:06:06 2021 +0000
Parent:
2:4e64923032ad
Child:
4:ac0aef91fd94
Commit message:
removed unnecessary code

Changed in this revision

SC18IS606.cpp Show annotated file Show diff for this revision Revisions of this file
SC18IS606.h Show annotated file Show diff for this revision Revisions of this file
--- a/SC18IS606.cpp	Wed Jul 14 03:00:18 2021 +0000
+++ b/SC18IS606.cpp	Fri Jul 23 05:06:06 2021 +0000
@@ -73,12 +73,3 @@
 
     return 0;   //  dummy
 }
-
-#if 0
-void SC18IS606::wait_transfer_done( void )
-{
-    char    func_id = 0x01;
-    while ( i2c.write( device_address, &func_id, 1 ) )
-        ;
-}
-#endif
--- a/SC18IS606.h	Wed Jul 14 03:00:18 2021 +0000
+++ b/SC18IS606.h	Fri Jul 23 05:06:06 2021 +0000
@@ -75,12 +75,6 @@
      */
     int read_buffer( char *receive_data_ptr, int length );
 
-#if 0
-    /** Wait transfer done (using polling method)
-     */
-    void wait_transfer_done( void );
-#endif
-
     /** Set congiguration
      *
      *  @param data     Donfig data byte