Skip to content
Snippets Groups Projects
Commit a30a018d authored by minute's avatar minute
Browse files

Merge branch 'fw-release-polishing' into 'main'

Fw release polishing

See merge request !29
parents 37db9bcb f9bb7b2e
No related branches found
Tags 20250107
1 merge request!29Fw release polishing
Pipeline #3325 passed
......@@ -8,6 +8,7 @@ build:
- scripts/update-sysctl-firmware.sh
- scripts/update-keyboard-firmware.sh
- pocket-reform-keyboard-fw/pocket-hid/build/pocket-hid.uf2
- pocket-reform-keyboard-fw/pocket-hid/build/pocket-hid.cab
script:
- ./install-fw-dependencies.sh
- export SOURCE_ROOT="$PWD"
......
......@@ -90,7 +90,7 @@ int32_t pwm_set_freq_duty(uint32_t slice_num, uint32_t chan, uint32_t freq, int
void set_display_backlight(int percent)
{
// DISP_EN = 7 = PWM3 B
printf("# set_display_backlight: %d", percent);
printf("# set_display_backlight: %d\n", percent);
pwm_set_freq_duty(pwm_gpio_to_slice_num(PIN_DISP_EN), pwm_gpio_to_channel(PIN_DISP_EN), 100000, percent);
// caveat: latch needs to be always-on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment