remove TAP_SCAN_BYTES macro
Use DIV_ROUND_UP(n, 8) instead of TAP_SCAN_BYTES macro.
This commit is contained in:
@@ -46,9 +46,6 @@
|
||||
*/
|
||||
#define DIM(x) (sizeof(x)/sizeof((x)[0]))
|
||||
|
||||
/** Calculate the number of bytes required to hold @a n TAP scan bits */
|
||||
#define TAP_SCAN_BYTES(n) DIV_ROUND_UP(n, 8)
|
||||
|
||||
/*-----</Macros>-------------------------------------------------*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user