mirror of https://github.com/schoebel/mars
infra: remove obsolete show_status()
This commit is contained in:
parent
fc33aada95
commit
6d4ba66d55
|
@ -295,7 +295,6 @@ struct mars_info {
|
|||
int *mode_ptr; \
|
||||
int kill_round; \
|
||||
bool killme; \
|
||||
void (*show_status)(struct mars_brick *brick, bool shutdown); \
|
||||
|
||||
struct mars_brick {
|
||||
MARS_BRICK(mars);
|
||||
|
|
|
@ -2554,10 +2554,6 @@ int mars_kill_brick(struct mars_brick *brick)
|
|||
goto done;
|
||||
}
|
||||
|
||||
if (brick->show_status) {
|
||||
brick->show_status(brick, true);
|
||||
}
|
||||
|
||||
// start shutdown
|
||||
set_button_wait((void*)brick, false, true, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue