mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
temporarily allow more graphics server connections
this is for early testing and debug -- there's a note to revert this in the console log once we're done with that.
This commit is contained in:
parent
ab9b63c7f6
commit
34cfc7db5b
1 changed files with 7 additions and 1 deletions
|
|
@ -182,7 +182,13 @@ fn wrapped_main(main_thread_token: backend::MainThreadToken) -> ! {
|
|||
#[cfg(not(target_os = "xous"))]
|
||||
let sid = xns.register_name(api::SERVER_NAME_GFX, Some(1)).expect("can't register server");
|
||||
#[cfg(feature = "cramium-soc")]
|
||||
let sid = xns.register_name(api::SERVER_NAME_GFX, Some(1)).expect("can't register server");
|
||||
{
|
||||
log::warn!(
|
||||
"Remember to notch the expected connections for graphics_server down to 1 after initial testing!"
|
||||
);
|
||||
// 2 for now -- one for GAM, one for testing
|
||||
let sid = xns.register_name(api::SERVER_NAME_GFX, Some(2)).expect("can't register server");
|
||||
}
|
||||
|
||||
let screen_clip = Rectangle::new(Point::new(0, 0), display.screen_size());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue