Skip to content

Commit

Permalink
fix: fix undefined BIT64 for esp8266
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleRus committed Jul 17, 2024
1 parent ac21262 commit e3bef06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/hx711/hx711.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
static portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
#endif

#ifndef BIT64
#define BIT64 BIT
#endif

static uint32_t read_raw(gpio_num_t dout, gpio_num_t pd_sck, hx711_gain_t gain)
{
#if HELPER_TARGET_IS_ESP32
Expand Down

0 comments on commit e3bef06

Please sign in to comment.