From 5e0f55647a4a25784cfa833882c6e464c156a912 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 14 Sep 2019 02:35:12 +0200 Subject: [PATCH] command_parser: rm unused tokens --- firmware/src/command_parser.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/firmware/src/command_parser.rs b/firmware/src/command_parser.rs index 24419a8..6d84bfa 100644 --- a/firmware/src/command_parser.rs +++ b/firmware/src/command_parser.rs @@ -10,10 +10,6 @@ enum Token { #[token = "Quit"] Quit, - #[token = "show"] - Show, - #[token = "channel"] - Channel, #[token = "report"] Report, #[token = "mode"] @@ -24,24 +20,6 @@ enum Token { Once, #[token = "continuous"] Continuous, - #[token = "enable"] - Enable, - #[token = "disable"] - Disable, - #[token = "setup"] - Setup, - #[token = "ref+"] - RefPos, - #[token = "ref-"] - RefNeg, - #[token = "ain+"] - AinPos, - #[token = "ain-"] - AinNeg, - #[token = "unipolar"] - Unipolar, - #[token = "burnout"] - Burnout, #[regex = "[0-9]+"] Number,