mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
rename typedef structs
This commit is contained in:
parent
f6d88dced2
commit
f4f14317e1
8 changed files with 37 additions and 37 deletions
|
@ -42,7 +42,7 @@ static sample_config def_config = {
|
|||
static sample_config config = { 1, 8, 1, LF_DIVISOR_125, 0, 0, true} ;
|
||||
|
||||
// Holds bit packed struct of samples.
|
||||
static BitstreamOut data = {0, 0, 0};
|
||||
static BitstreamOut_t data = {0, 0, 0};
|
||||
|
||||
// internal struct to keep track of samples gathered
|
||||
static sampling_t samples = {0, 0, 0, 0};
|
||||
|
@ -123,7 +123,7 @@ sample_config *getSamplingConfig(void) {
|
|||
* @param stream
|
||||
* @param bit
|
||||
*/
|
||||
static void pushBit(BitstreamOut *stream, uint8_t bit) {
|
||||
static void pushBit(BitstreamOut_t *stream, uint8_t bit) {
|
||||
int bytepos = stream->position >> 3; // divide by 8
|
||||
int bitpos = stream->position & 7;
|
||||
*(stream->buffer + bytepos) &= ~(1 << (7 - bitpos));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue