1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/sx127x: add define for logic level of POR indication by the reset pin

This commit is contained in:
Michel Rottleuthner 2019-06-11 19:24:07 +02:00
parent 761530caf5
commit f337f42738

View File

@ -41,6 +41,17 @@ extern "C" {
#endif
/** @} */
/**
* @name Device specific logic level to indicate POR-cycle is active
* @{
*/
#if defined(MODULE_SX1272)
#define SX127X_POR_ACTIVE_LOGIC_LEVEL (1)
#else /* MODULE_SX1276 */
#define SX127X_POR_ACTIVE_LOGIC_LEVEL (0)
#endif
/** @} */
/**
* @brief Check the transceiver version
*