aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bootloaders/TeensyHID/Descriptors.c2
-rw-r--r--Projects/LEDNotifier/LEDNotifier.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c
index 14f0500e5..098de0df8 100644
--- a/Bootloaders/TeensyHID/Descriptors.c
+++ b/Bootloaders/TeensyHID/Descriptors.c
@@ -75,7 +75,7 @@ USB_Descriptor_Device_t DeviceDescriptor =
.VendorID = 0x16C0,
.ProductID = 0x0478,
- .ReleaseNumber = 0x0010,
+ .ReleaseNumber = 0x0120,
.ManufacturerStrIndex = NO_DESCRIPTOR,
.ProductStrIndex = 0x01,
diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c
index c44ca58da..1a8761653 100644
--- a/Projects/LEDNotifier/LEDNotifier.c
+++ b/Projects/LEDNotifier/LEDNotifier.c
@@ -78,7 +78,7 @@ ISR(TIMER0_COMPA_vect, ISR_BLOCK)
{
uint8_t LEDMask = LEDS_ALL_LEDS;
- if (++SoftPWM_Count == 0x1F)
+ if (++SoftPWM_Count == 0b00011111)
SoftPWM_Count = 0;
if (SoftPWM_Count >= SoftPWM_Channel1_Duty)