- fixed register_state() for the USB printer device (no need to save/restore the
file name since it is present in the config tree as a part of the device name)
This commit is contained in:
parent
25fa76b8e0
commit
5457fa4458
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: usb_printer.cc,v 1.2 2009-12-04 17:50:10 sshwarts Exp $
|
||||
// $Id: usb_printer.cc,v 1.3 2010-01-02 16:54:40 vruppert Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2009 Benjamin David Lunt
|
||||
@ -133,13 +133,8 @@ usb_printer_device_c::~usb_printer_device_c(void)
|
||||
|
||||
void usb_printer_device_c::register_state_specific(bx_list_c *parent)
|
||||
{
|
||||
/*
|
||||
bx_param_string_c *path;
|
||||
bx_list_c *list = new bx_list_c(parent, "s", "USB PRINTER Device State", 3);
|
||||
bx_list_c *list = new bx_list_c(parent, "s", "USB PRINTER Device State", 1);
|
||||
new bx_shadow_num_c(list, "printer_status", &s.printer_status);
|
||||
path = new bx_param_string_c(list, "fname", "File", "", "", BX_PATHNAME_LEN);
|
||||
path->set(s.fname);
|
||||
*/
|
||||
}
|
||||
|
||||
void usb_printer_device_c::handle_reset()
|
||||
|
Loading…
x
Reference in New Issue
Block a user