mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
resolve inline warnings
This commit is contained in:
parent
99b55a36e4
commit
838d345918
4 changed files with 32 additions and 0 deletions
|
@ -92,7 +92,12 @@ static inline uint8_t rx_byte_from_fpga() {
|
|||
//
|
||||
// Note: The SSC receiver is never synchronized the calculation may be performed
|
||||
// on a i/q pair from two subsequent correlations, but does not matter.
|
||||
// Note: inlining this function would fail with -Os
|
||||
#ifdef __OPTIMIZE_SIZE__
|
||||
static int32_t sample_power() {
|
||||
#else
|
||||
static inline int32_t sample_power() {
|
||||
#endif
|
||||
int32_t q = (int8_t)rx_byte_from_fpga();
|
||||
q = ABS(q);
|
||||
int32_t i = (int8_t)rx_byte_from_fpga();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue