Skip to content

Commit

Permalink
Update blink indication and token
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Horacek <petr@zlosynth.com>
  • Loading branch information
phoracek committed Nov 11, 2023
1 parent 2fc0f66 commit 23c57e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control/src/save.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl Save {
}

// This constant is used to invalidate data when needed
const TOKEN: u16 = 4;
const TOKEN: u16 = 5;
const CRC: Crc<u16> = Crc::<u16>::new(&CRC_16_USB);
pub struct InvalidData;

Expand Down
2 changes: 1 addition & 1 deletion firmware/src/bin/firmware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod app {
use kaseta_firmware::system::System;

// Single blinks on the PCB's LED signalize the first revision.
const BLINKS: u8 = 2;
const BLINKS: u8 = 3;

// Slice for shorter buffers that will be stored in the main memory.
#[link_section = ".sram"]
Expand Down

0 comments on commit 23c57e3

Please sign in to comment.