Skip to content

Commit 4d288a5

Browse files
committed
[libraries] Fix include path in xmake
1 parent a02f04c commit 4d288a5

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

libraries/lcd.hh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ namespace sonata::lcd
1414
{
1515
extern "C"
1616
{
17-
#include "../third_party/display_drivers/src/core/lcd_base.h"
18-
#include "../third_party/display_drivers/src/core/lucida_console_10pt.h"
19-
#include "../third_party/display_drivers/src/core/lucida_console_12pt.h"
20-
#include "../third_party/display_drivers/src/core/m3x6_16pt.h"
21-
#include "../third_party/display_drivers/src/core/m5x7_16pt.h"
22-
#include "../third_party/display_drivers/src/st7735/lcd_st7735.h"
17+
#include "core/lcd_base.h"
18+
#include "core/lucida_console_10pt.h"
19+
#include "core/lucida_console_12pt.h"
20+
#include "core/m3x6_16pt.h"
21+
#include "core/m5x7_16pt.h"
22+
#include "st7735/lcd_st7735.h"
2323
}
2424
void __cheri_libcall lcd_init(LCD_Interface *,
2525
St7735Context *,

libraries/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ library("lcd")
1111
add_files("../third_party/display_drivers/src/st7735/lcd_st7735.c")
1212
add_files("lcd.cc")
1313
add_includedirs(
14-
"../third_party/display_drivers/core/src/", {public = true}
14+
"../third_party/display_drivers/src/", {public = true}
1515
)
1616

1717
library("sense_hat")

0 commit comments

Comments
 (0)