adc

Dependents:   h7adc

Revision:
3:1d62b3be52e8
Parent:
1:5796bdddf29c
diff -r f480200c8600 -r 1d62b3be52e8 communication.h
--- a/communication.h	Tue Oct 27 13:23:41 2020 +0000
+++ b/communication.h	Wed Oct 28 15:35:08 2020 +0000
@@ -6,6 +6,8 @@
 #define COMMUNICATION_DELAY 1
 #define COMMUNICATION_WAITTING COMMUNICATION_DELAY * 5
 
+#define ALIGN32_SIZE(SIZE_ALIGN) (((SIZE_ALIGN + 31)/32)*32)
+
 enum _BOOL_
 {
 	_TRUE_ = 1,