Skip to content

Commit e3fe2f9

Browse files
committed
Separate definition and implementation.
1 parent f6f2c70 commit e3fe2f9

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

src/Braccio++.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,17 @@ void BraccioClass::lvgl_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, l
234234
lv_disp_flush_ready(disp);
235235
}
236236

237+
void BraccioClass::unlock_pd_semaphore_irq()
238+
{
239+
start_pd_burst = millis();
240+
_pd_events.set(2);
241+
}
242+
243+
void BraccioClass::unlock_pd_semaphore()
244+
{
245+
_pd_events.set(1);
246+
}
247+
237248
/**************************************************************************************
238249
* PRIVATE MEMBER FUNCTIONS
239250
**************************************************************************************/

src/Braccio++.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,8 @@ class BraccioClass
8282
}
8383

8484
void lvgl_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p);
85-
void unlock_pd_semaphore_irq() {
86-
start_pd_burst = millis();
87-
_pd_events.set(2);
88-
}
89-
void unlock_pd_semaphore() {
90-
_pd_events.set(1);
91-
}
85+
void unlock_pd_semaphore_irq();
86+
void unlock_pd_semaphore();
9287

9388
protected:
9489

0 commit comments

Comments
 (0)