mirror of
https://github.com/ArteryTek/AT32F415_Firmware_Library.git
synced 2026-05-21 09:22:11 +00:00
update version to v2.1.0
This commit is contained in:
@@ -248,8 +248,13 @@ typedef struct
|
||||
/**
|
||||
* @brief min and max define
|
||||
*/
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) (uint16_t)(((a) < (b)) ? (a) : (b)) /*!< min define*/
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) (uint16_t)(((a) > (b)) ? (a) : (b)) /*!< max define*/
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief low byte and high byte define
|
||||
|
||||
Reference in New Issue
Block a user