mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
reduced visibility of commands as they normally should only be needed interally
This commit is contained in:
@@ -10,7 +10,7 @@ use interface;
|
||||
#[allow(dead_code)]
|
||||
#[allow(non_camel_case_types)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum Command {
|
||||
pub(crate) enum Command {
|
||||
/// Set Resolution, LUT selection, BWR pixels, gate scan direction, source shift direction, booster switch, soft reset
|
||||
PANEL_SETTING = 0x00,
|
||||
/// selecting internal and external power
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ use self::constants::*;
|
||||
use drawing::color::Color;
|
||||
|
||||
pub mod command;
|
||||
pub use self::command::Command;
|
||||
use self::command::Command;
|
||||
|
||||
|
||||
/// EPD4in2 driver
|
||||
|
||||
Reference in New Issue
Block a user