Explorar o código

Добавлен комментарий к макросу

Mikhail Zaytsev hai 1 ano
pai
achega
85f407bbd3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Devices/tmsgheaders.h

+ 1 - 0
Devices/tmsgheaders.h

@@ -150,6 +150,7 @@
                   (RF_SW2 << 1) | \
                   (RF_SW1 << 0))
 
+// Macros to set register parameter
 #define SET_REGISTER_PARAM( REGISTER, BITM, BITP, PARAMETER )\
 			REGISTER &= ~BITM;\
 			REGISTER |= (PARAMETER << BITP);