Skip to content

Commit

Permalink
Fix for new WisBlock API version, fixed generated.
Browse files Browse the repository at this point in the history
  • Loading branch information
r4wk committed Jul 25, 2022
1 parent 6fe62e7 commit 55e875d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
-DSW_VERSION_1=1
-DSW_VERSION_2=0
-DSW_VERSION_3=2
-DSW_VERSION_1=0
-DSW_VERSION_2=3
-DSW_VERSION_3=0
-DLIB_DEBUG=0
-DAPI_DEBUG=1
-DMY_DEBUG=1
Expand Down
2 changes: 1 addition & 1 deletion rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
version_tag_3 = defines.get("SW_VERSION_3")
build_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S')

env.Replace(PROGNAME="../../../Generated/WisBlock-RAK4631-Helium-Mapper_v%s.%s.%s" % (version_tag_1,version_tag_2,version_tag_3))
env.Replace(PROGNAME="../../../Generated/R4K-Field-Mapper_v%s.%sa" % (version_tag_1,version_tag_2))
3 changes: 2 additions & 1 deletion src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ void app_event_handler(void)
// Reset the standard timer
if (g_lorawan_settings.send_repeat_time != 0)
{
g_task_wakeup_timer.reset();
//g_task_wakeup_timer.reset();
api_timer_restart(g_lorawan_settings.send_repeat_time);
}
}
}
Expand Down

0 comments on commit 55e875d

Please sign in to comment.