mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-25 08:35:56 +08:00
legicrf & gcc 10: Remove inline warning
This commit is contained in:
parent
e8f723620e
commit
fbaf634779
1 changed files with 6 additions and 0 deletions
|
@ -113,7 +113,13 @@ static inline int32_t sample_power(void) {
|
|||
//
|
||||
// Note: The demodulator would be drifting (18.9us * 5 != 100us), rx_frame
|
||||
// has a delay loop that aligns rx_bit calls to the TAG tx timeslots.
|
||||
|
||||
// Note: inlining this function would fail with -Os
|
||||
#ifdef __OPTIMIZE_SIZE__
|
||||
static bool rx_bit(void) {
|
||||
#else
|
||||
static inline bool rx_bit(void) {
|
||||
#endif
|
||||
int32_t power;
|
||||
|
||||
for (size_t i = 0; i < 5; ++i) {
|
||||
|
|
Loading…
Reference in a new issue