mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
+1
-1
@@ -77,7 +77,7 @@ int up_cryptoinitialize(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_CRYPTO_ALGTEST
|
||||
#ifdef CONFIG_CRYPTO_ALGTEST
|
||||
res = crypto_test();
|
||||
if (res)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user