Use TX Burst enum consistently

- By convention, enums are uppercase in C
- Use it everywhere
This commit is contained in:
Robert Schmidt
2023-01-19 14:32:01 +01:00
parent faba9ac244
commit 72460cec61
7 changed files with 38 additions and 37 deletions
+2 -2
View File
@@ -164,9 +164,9 @@ trx_iris_write(openair0_device *device, openair0_timestamp timestamp, void **buf
return nsamps;
}
if (flags == 2 || flags == 1) { // start of burst
if (flags == TX_BURST_START || flags == TX_BURST_MIDDLE)
} else if (flags == 3 || flags == 4) {
} else if (flags == TX_BURST_END || flags == TX_BURST_START_AND_END) {
flag |= SOAPY_SDR_END_BURST;
}