mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
esp-idf: redirect debug_log! to esp-println
This commit is contained in:
parent
dab9a4fc2e
commit
36669e8df7
1 changed files with 5 additions and 0 deletions
|
@ -252,6 +252,11 @@ impl Platform for CppPlatform {
|
|||
let status = unsafe { (self.clipboard_text)(self.user_data, &mut out_text, clipboard) };
|
||||
status.then(|| out_text.into())
|
||||
}
|
||||
|
||||
#[cfg(feature = "esp-println")]
|
||||
fn debug_log(&self, arguments: core::fmt::Arguments) {
|
||||
esp_println::println!("{}", arguments);
|
||||
}
|
||||
}
|
||||
|
||||
struct CppEventLoopProxy {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue