eive-obsw/linux/devices/startracker/helpers.cpp

8 lines
249 B
C++
Raw Normal View History

2023-03-21 20:35:28 +01:00
#include "helpers.h"
uint8_t str::getReplyFrameType(const uint8_t* rawFrame) { return rawFrame[0]; }
uint8_t str::getId(const uint8_t* rawFrame) { return rawFrame[1]; }
uint8_t str::getStatusField(const uint8_t* rawFrame) { return rawFrame[2]; }