mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
d/psvr: Tidy code
This commit is contained in:
parent
37e4578cd3
commit
2a9a0100bc
|
@ -47,7 +47,7 @@ read_u16(const uint8_t **buffer, uint16_t *out_value)
|
||||||
*buffer += 2;
|
*buffer += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline static void
|
inline static XRT_MAYBE_UNUSED void
|
||||||
read_i16(const uint8_t **buffer, int16_t *out_value)
|
read_i16(const uint8_t **buffer, int16_t *out_value)
|
||||||
{
|
{
|
||||||
*out_value = (*(*buffer + 0) << 0) | // Byte 0
|
*out_value = (*(*buffer + 0) << 0) | // Byte 0
|
||||||
|
|
Loading…
Reference in a new issue