Browse Source

AP_Common: Set the value of UINT16 with HIGH byte and LOW byte

mission-4.1.18
murata 6 years ago committed by Randy Mackay
parent
commit
7340502f18
  1. 2
      libraries/AP_Common/AP_Common.h

2
libraries/AP_Common/AP_Common.h

@ -81,6 +81,8 @@ @@ -81,6 +81,8 @@
#define ARRAY_SIZE(_arr) (sizeof(_arr) / sizeof(_arr[0]))
#define UINT16_VALUE(hbyte, lbyte) (static_cast<uint16_t>((hbyte<<8)|lbyte))
/*
* See UNUSED_RESULT. The difference is that it receives @uniq_ as the name to
* be used for its internal variable.

Loading…
Cancel
Save