Try to correct how laptop modes are handled

This commit is contained in:
Luke
2020-07-05 00:23:12 +12:00
parent 202fbe6800
commit a4c5b2754e
4 changed files with 13 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.14.2] - 2020-04-07
### Changed
- Try to correct how laptop modes are handled
## [0.14.1] - 2020-04-07
### Added
- Support for G512 series

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
rog-core (0.14.2) focal; urgency=medium
- Try to correct how laptop modes are handled
-- Luke Jones <luke@ljones.dev> Sun, 05 Jul 2020 00:22:00 +1200
rog-core (0.14.1) focal; urgency=medium
- Support for G512 series

View File

@@ -151,7 +151,8 @@ impl From<&AuraModes> for [u8; LED_MSG_LEN] {
AuraModes::Pulse(_) => msg[3] = 0x0a,
AuraModes::Comet(_) => msg[3] = 0x0b,
AuraModes::Flash(_) => msg[3] = 0x0c,
_ => panic!("Mode not convertable to array"),
AuraModes::MultiStatic(_) => msg[3] = 0x0d,
_ => print!("Mode not convertable to array: {}", <&str>::from(mode)),
}
match mode {

View File

@@ -9,7 +9,7 @@ use rog_client::{
};
use std::io::Write;
static VERSION: &str = "0.14.1";
static VERSION: &str = "0.14.2";
#[derive(Options)]
struct CLIStart {