Revision 7de0cc90 unittests/periphery-lld/src/ut_alld_bq27500_v1.c

View differences:

unittests/periphery-lld/src/ut_alld_bq27500_v1.c
28 28
/******************************************************************************/
29 29

  
30 30
// change saved unseal keys to test bruteforcing
31
#ifdef BQ27500_UT_TEST_BRUTEFORCE
31
#if defined(BQ27500_UT_TEST_BRUTEFORCE)
32 32

  
33
#ifdef BQ27500_LLD_DEFAULT_UNSEAL_KEY0
33
#if defined(BQ27500_LLD_DEFAULT_UNSEAL_KEY0)
34 34
#undef BQ27500_LLD_DEFAULT_UNSEAL_KEY0
35 35
#define BQ27500_LLD_DEFAULT_UNSEAL_KEY0 0x1234
36
#endif
36
#endif /* defined(BQ27500_LLD_DEFAULT_UNSEAL_KEY0) */
37 37

  
38
#ifdef BQ27500_LLD_DEFAULT_UNSEAL_KEY1
38
#if defined(BQ27500_LLD_DEFAULT_UNSEAL_KEY1)
39 39
#undef BQ27500_LLD_DEFAULT_UNSEAL_KEY1
40 40
#define BQ27500_LLD_DEFAULT_UNSEAL_KEY1 0x5678
41
#endif
41
#endif /* defined(BQ27500_LLD_DEFAULT_UNSEAL_KEY1) */
42 42

  
43
#endif
43
#endif /* defined(BQ27500_UT_TEST_BRUTEFORCE) */
44 44

  
45 45
/******************************************************************************/
46 46
/* EXPORTED VARIABLES                                                         */

Also available in: Unified diff