build fix

This commit is contained in:
2022-02-13 01:28:28 +01:00
parent 1aa27e6f96
commit a9bdbca571
3 changed files with 6 additions and 46 deletions

View File

@@ -10,4 +10,4 @@ set(src
add_library(${target} STATIC ${src})
target_include_directories(${target} PUBLIC include/)
target_link_libraries(${target} PRIVATE bcm2835)
target_link_libraries(${target} PUBLIC bcm2835)

View File

@@ -48,6 +48,9 @@
#ifndef _DEV_CONFIG_H_
#define _DEV_CONFIG_H_
#define RPI
#define USE_BCM2835_LIB
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>