Skip to content

Commit 478df8f

Browse files
committed
Define bit value (_BV) macro if not available
1 parent 16044ba commit 478df8f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/VS1053.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040

4141
#include "patches/vs1053b-patches.h"
4242

43+
#ifndef _BV
44+
#define _BV(bit) (1 << (bit))
45+
#endif
46+
4347
enum VS1053_I2S_RATE {
4448
VS1053_I2S_RATE_192_KHZ,
4549
VS1053_I2S_RATE_96_KHZ,

0 commit comments

Comments
 (0)