change comments to English
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user