mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
make style
This commit is contained in:
parent
0d9223a547
commit
0373696662
483 changed files with 56514 additions and 52451 deletions
|
@ -393,11 +393,11 @@ CborError cbor_encode_floating_point(CborEncoder *encoder, CborType fpType, cons
|
|||
|
||||
size = 2U << (fpType - CborHalfFloatType);
|
||||
if (size == 8)
|
||||
put64(buf + 1, *(const uint64_t*)value);
|
||||
put64(buf + 1, *(const uint64_t *)value);
|
||||
else if (size == 4)
|
||||
put32(buf + 1, *(const uint32_t*)value);
|
||||
put32(buf + 1, *(const uint32_t *)value);
|
||||
else
|
||||
put16(buf + 1, *(const uint16_t*)value);
|
||||
put16(buf + 1, *(const uint16_t *)value);
|
||||
saturated_decrement(encoder);
|
||||
return append_to_buffer(encoder, buf, size + 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue