chore: add discord server details to readme.md

This commit is contained in:
Suyog Tandel
2026-01-08 19:22:28 +05:30
parent 3111f7f4f9
commit ca4800cb65
2 changed files with 7 additions and 6 deletions
+3
View File
@@ -23,6 +23,8 @@ PicoForge is a modern desktop application for configuring and managing Pico FIDO
- Real-time system logging and diagnostics
- Support for multiple hardware variants and vendors
> **Alpha Status**: This application is currently under active development and in alpha stage. Users should expect bugs and are encouraged to report them. The app has been tested on Linux with the official Raspberry Pi Pico2 and currently supports Pico FIDO firmware version 7.2 only. Release binaries will be built and published soon.
## Screenshots
<div align="center">
@@ -225,6 +227,7 @@ See [LICENSE](LICENSE) for full details.
## Support
- **Discord**: [Join our Discord server](https://discord.gg/6wYBpSHJY2) for community support and interaction
- **Issues**: [GitHub Issues](https://github.com/librekeys/picoforge/issues)
- **Discussions**: [GitHub Discussions](https://github.com/librekeys/picoforge/discussions)
+4 -6
View File
@@ -83,7 +83,7 @@ struct FullDeviceStatus {
secure_lock: bool,
}
// Custom Error type for easy returning to frontend
// Custom Error types
#[derive(Debug, thiserror::Error)]
enum AppError {
#[error("PCSC Error: {0}")]
@@ -310,12 +310,10 @@ fn write_config(config: AppConfigInput) -> Result<String, AppError> {
// Options (Tag 0x06)
if let (Some(dim), Some(cycle), Some(steady)) = (config.led_dimmable, config.power_cycle_on_reset, config.led_steady) {
let mut opts: u16 = 0; // Changed from u8 to u16
let mut opts: u16 = 0;
if dim { opts |= OPT_LED_DIMMABLE; }
// Logic check: "Power Cycle On" means the DISABLE flag is NOT set.
// If "Power Cycle On" is false, we SET the DISABLE flag.
if !cycle { opts |= OPT_DISABLE_POWER_RESET; }
if steady { opts |= OPT_LED_STEADY; }
@@ -331,14 +329,14 @@ fn write_config(config: AppConfigInput) -> Result<String, AppError> {
if enabled { curves |= CURVE_SECP256K1; }
tlv.push(TAG_CURVES);
tlv.push(0x04); // Length is 4
tlv.push(0x04);
tlv.write_u32::<BigEndian>(curves).unwrap();
}
// LED Driver (Tag 0x0C)
if let Some(val) = config.led_driver {
tlv.push(TAG_LED_DRIVER);
tlv.push(0x01); // Length 1
tlv.push(0x01);
tlv.push(val);
}