Skip to content

Commit

Permalink
update main app
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizoku-oh committed May 14, 2021
1 parent 561322b commit 1822a35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ board_build.embed_txtfiles =
src/certs/heroku_cert.pem

build_flags =
'-DAPP_VERSION="0.2.6"'
'-DAPP_VERSION="0.2.7"'
; Keep sensitive data in environment variables
'-DWIFI_SSID=${sysenv.WIFI_SSID}'
'-DWIFI_PASS=${sysenv.WIFI_PASS}'
Expand Down
3 changes: 1 addition & 2 deletions src/app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ void app_main(void)

app_ota_start();

app_time_init();

stQueue = xQueueCreate(APP_MAIN_FIRESTORE_QUEUE_SIZE, sizeof(rc522_event_t));
xTaskCreate(_app_main_firestore_task,
"firestore",
Expand All @@ -104,6 +102,7 @@ static void _app_main_firestore_task(void *pvParameter)
{
rc522_event_t eEvent;

app_time_init();
firestore_init();
rc522_start(stStartArgs);
while(1)
Expand Down

0 comments on commit 1822a35

Please sign in to comment.