Skip to content

Commit

Permalink
BCM driver: include inttypes
Browse files Browse the repository at this point in the history
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
mysensors#955 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404d.

This change fixes the problem discussed in
mysensors#980
  • Loading branch information
mfalkvidd committed Nov 10, 2017
1 parent d43c755 commit 0b6a4ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/BCM/bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <inttypes.h> // For PRIu64
#include "log.h"

#define BCK2835_LIBRARY_BUILD
Expand Down

0 comments on commit 0b6a4ba

Please sign in to comment.