Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.

This commit is contained in:
Paul A. Patience
2015-09-01 09:04:09 -04:00
parent bb385c242f
commit 3b89eabd50
24 changed files with 79 additions and 79 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ int up_cryptoinitialize(void)
}
#endif
#if CONFIG_CRYPTO_ALGTEST
#ifdef CONFIG_CRYPTO_ALGTEST
res = crypto_test();
if (res)
{