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 *mode_ptr; \
|
||||||
int kill_round; \
|
int kill_round; \
|
||||||
bool killme; \
|
bool killme; \
|
||||||
void (*show_status)(struct mars_brick *brick, bool shutdown); \
|
|
||||||
|
|
||||||
struct mars_brick {
|
struct mars_brick {
|
||||||
MARS_BRICK(mars);
|
MARS_BRICK(mars);
|
||||||
|
|
|
@ -2554,10 +2554,6 @@ int mars_kill_brick(struct mars_brick *brick)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (brick->show_status) {
|
|
||||||
brick->show_status(brick, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// start shutdown
|
// start shutdown
|
||||||
set_button_wait((void*)brick, false, true, 0);
|
set_button_wait((void*)brick, false, true, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue