Error-out with PAT9125_SWSPI (not fully implemented)

.. and likely will never was/be.
This commit is contained in:
Yuri D'Elia 2020-08-20 22:13:13 +02:00
parent 7f425120f0
commit 30e7b777e0
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ uint8_t pat9125_probe()
{ {
#if defined(PAT9125_SWSPI) #if defined(PAT9125_SWSPI)
swspi_init(); swspi_init();
//#error not implemented #error not implemented
#elif defined(PAT9125_SWI2C) #elif defined(PAT9125_SWI2C)
swi2c_init(); swi2c_init();
return swi2c_readByte_A8(PAT9125_I2C_ADDR,0x00,NULL); return swi2c_readByte_A8(PAT9125_I2C_ADDR,0x00,NULL);