comparison src/cs/drivers/drv_core/abb/abb.h @ 698:4f458e31b6e1

.../drv_core/abb/abb.[ch]: sync with Tourmaline The changes being synced are: 1) ABB semaphore protection overhaul; 2) New ABB_SLEEP_RESTRICTION definition in fc-target.h
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 09 Jun 2021 18:00:44 +0000
parents 07818fb33771
children
comparison
equal deleted inserted replaced
697:e0feeea32ca5 698:4f458e31b6e1
558 // 2 for protection medium 558 // 2 for protection medium
559 // 3 for protection high 559 // 3 for protection high
560 #if (OP_L1_STANDALONE == 1) 560 #if (OP_L1_STANDALONE == 1)
561 #define ABB_SEMAPHORE_PROTECTION (0) 561 #define ABB_SEMAPHORE_PROTECTION (0)
562 #else 562 #else
563 #define ABB_SEMAPHORE_PROTECTION (2) 563 #define ABB_SEMAPHORE_PROTECTION (3)
564 #endif 564 #endif
565 565
566 566
567 567
568 // PROTOTYPES 568 // PROTOTYPES