change comments to English

This commit is contained in:
2026-03-24 13:40:29 +00:00
parent 66f34eeb58
commit 912b9b0075
8 changed files with 61 additions and 62 deletions
+3 -3
View File
@@ -335,7 +335,7 @@ impl PrometeuOS {
}
// Helper para syscalls
// Helper for syscalls
fn syscall_log_write(&mut self, level_val: i64, tag: u16, msg: String) -> Result<(), VmFault> {
let level = match level_val {
0 => LogLevel::Trace,
@@ -370,11 +370,11 @@ impl PrometeuOS {
}
pub fn get_color(&self, value: i64) -> Color {
// Agora usamos o valor diretamente como RGB565.
// We now use the value directly as RGB565.
Color::from_raw(value as u16)
}
// Helper para syscalls
// Helper for syscalls
pub fn get_button<'a>(&self, id: u32, hw: &'a dyn HardwareBridge) -> Option<&'a prometeu_abi::model::Button> {
let pad = hw.pad();
match id {