diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 04a7528..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,42 +0,0 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile -{ - "name": "Archlinux Dockerfile", - "build": { - // Sets the run context to one level up instead of the .devcontainer folder. - "context": "..", - // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. - "dockerfile": "../Dockerfile" - }, - "customizations": { - "vscode": { - "settings": { - "terminal.integrated.scrollback": 10000, - "git.allowForcePush": true, - "editor.minimap.enabled": false - }/*, - // Here are a few extensions suggestions for more serious development in this Codespace - "extensions": [ - "eamodio.gitlens", - "ms-vscode.makefile-tools", - "ms-vscode.cpptools", - "ms-vscode.cpptools-themes" - ]*/ - } - } - - // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, - - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], - - // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": "cat /etc/os-release", - - // Configure tool-specific properties. - // "customizations": {}, - - // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "devcontainer" -} diff --git a/app/fm.c b/app/fm.c index 9f667a8..eba2a4b 100644 --- a/app/fm.c +++ b/app/fm.c @@ -576,7 +576,7 @@ static void FM_Key_UP_DOWN(bool key_pressed, bool key_held, int8_t Step) } if (g_eeprom.fm_is_channel_mode) - { + { // we're in channel mode const uint8_t Channel = FM_FindNextChannel(g_eeprom.fm_selected_channel + Step, Step); if (Channel == 0xFF || g_eeprom.fm_selected_channel == Channel) goto Bail; @@ -585,7 +585,7 @@ static void FM_Key_UP_DOWN(bool key_pressed, bool key_held, int8_t Step) g_eeprom.fm_frequency_playing = g_fm_channels[Channel]; } else - { + { // no, frequency mode uint16_t Frequency = g_eeprom.fm_selected_frequency + Step; if (Frequency < g_eeprom.fm_lower_limit) Frequency = g_eeprom.fm_upper_limit; diff --git a/firmware.bin b/firmware.bin new file mode 100644 index 0000000..47c5549 Binary files /dev/null and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin new file mode 100644 index 0000000..58889ea Binary files /dev/null and b/firmware.packed.bin differ