build fix

This commit is contained in:
Kaonnull committed 2022-02-13 01:28:28 +01:00
1 parent 1aa27e6f96
commit a9bdbca571
3 files changed
+6 -46

No files matched your search

+1 -1
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)
+3
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>