diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7283a3a..52394f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,13 +48,14 @@ jobs: pip install --upgrade platformio - name: Run PlatformIO run: pio run + - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} + tag_name: ${{ github.ref }}-${{ steps.date.outputs.date }} release_name: Release ${{ github.ref }} ${{ steps.date.outputs.date }} draft: false prerelease: true diff --git a/src/TTGO_T-Beam_LoRa_APRS.ino b/src/TTGO_T-Beam_LoRa_APRS.ino index 05d83c3..2dde31c 100644 --- a/src/TTGO_T-Beam_LoRa_APRS.ino +++ b/src/TTGO_T-Beam_LoRa_APRS.ino @@ -578,7 +578,7 @@ void setup(){ preferences.putBool(PREF_DEV_BT_EN_INIT, true); preferences.putBool(PREF_DEV_BT_EN, enable_bluetooth); } - enable_bluetooth = preferences.getBool(PREF_DEV_BT_EN); + enable_bluetooth = preferences.getBool(PREF_DEV_BT_EN); if (!preferences.getBool(PREF_DEV_OL_EN_INIT)){ preferences.putBool(PREF_DEV_OL_EN_INIT, true);