lcd_set_visible

Set the required layer visible or invisible.

static int32_t lcd_set_visible(
    uint8_t layer,
    int8_t on
)

This function set the required layer visible or invisible.

Parameters

layer

Type: uint8_t

Index of layer, 0 for base layer.

on

Type: int8_t

1 if layer should be visible, 0 for invisible.

Returns

Type: int32_t

Set status.