fix mptp packet graphic, fix formatting
This commit is contained in:
parent
82cbd147b2
commit
e773ff7f09
@ -1,18 +1,20 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <stdint.h>
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
0 1 2 3 4 5 6 7
|
||||||
#####################################
|
###############
|
||||||
# FLAGS #
|
# FLAGS #
|
||||||
#####################################
|
###############
|
||||||
# SIZE #
|
# SIZE #
|
||||||
# #
|
# #
|
||||||
#####################################
|
###############
|
||||||
# DATA #
|
# DATA #
|
||||||
#...................................#
|
#.............#
|
||||||
|
|
||||||
[8 bits] FLAGS
|
[8 bits] FLAGS
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@ -57,6 +59,8 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
#define MPTP_VERSION_SUPPORTED 0
|
#define MPTP_VERSION_SUPPORTED 0
|
||||||
#define MPTP_VERSION_MAX 15 // 4 bits
|
#define MPTP_VERSION_MAX 15 // 4 bits
|
||||||
#define MPTP_CODE_MAX 4 // 2 bits
|
#define MPTP_CODE_MAX 4 // 2 bits
|
||||||
|
Loading…
Reference in New Issue
Block a user