Skip to content

Commit 603a188

Browse files
authored
Merge pull request #947 from cyberman54/development
v3.4.7
2 parents 6ae1cf4 + e7a3d24 commit 603a188

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

include/senddata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void sendData(void);
1515
void checkSendQueues(void);
1616
void flushQueues(void);
1717
bool allQueuesEmtpy(void);
18-
void setSendIRQ(TimerHandle_t xTimer);
18+
//void setSendIRQ(TimerHandle_t xTimer);
1919
void setSendIRQ(void);
2020

2121
#endif // _SENDDATA_H_

platformio_orig.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ description = Paxcounter is a device for metering passenger flows in realtime. I
4646

4747
[common]
4848
; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
49-
release_version = 3.4.62
49+
release_version = 3.4.7
5050
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
5151
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
5252
debug_level = 3
5353
extra_scripts = pre:src/build.py
5454
otakeyfile = ota.conf
5555
lorakeyfile = loraconf.h
5656
lmicconfigfile = lmic_config.h
57-
platform_espressif32 = espressif32@6.0.0
57+
platform_espressif32 = espressif32@6.0.1
5858
monitor_speed = 115200
5959
upload_speed = 115200 ; set by build.py and taken from hal file
6060
lib_deps_lora =
@@ -78,11 +78,11 @@ lib_deps_sensors =
7878
lib_deps_basic =
7979
greyrook/libpax @ ^1.1.0
8080
https://github.com/SukkoPera/Arduino-Rokkit-Hash.git
81-
bblanchon/ArduinoJson @ ^6.20.0
82-
makuna/RTC @ ^2.3.5
81+
bblanchon/ArduinoJson @ ^6.20.1
82+
makuna/RTC @ ^2.3.6
8383
mathertel/OneButton @ ^2.0.3
8484
lewisxhe/XPowersLib @ ^0.1.5
85-
256dpi/MQTT @ ^2.5.0
85+
256dpi/MQTT @ ^2.5.1
8686
lib_deps_all =
8787
${common.lib_deps_basic}
8888
${common.lib_deps_lora}

platformio_orig_s3.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ description = Paxcounter is a device for metering passenger flows in realtime. I
1010

1111
[common]
1212
; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
13-
release_version = 3.4.62
13+
release_version = 3.4.7
1414
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
1515
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
1616
debug_level = 3
1717
extra_scripts = pre:src/build.py
1818
otakeyfile = ota.conf
1919
lorakeyfile = loraconf.h
2020
lmicconfigfile = lmic_config.h
21-
platform_espressif32 = espressif32@6.0.0
21+
platform_espressif32 = espressif32@6.0.1
2222
monitor_speed = 115200
2323
upload_speed = 115200 ; set by build.py and taken from hal file
2424
lib_deps_all =
@@ -27,9 +27,9 @@ lib_deps_all =
2727
fastled/FastLED @ ^3.5.0
2828
greyrook/libpax @ ^1.1.0
2929
https://github.com/SukkoPera/Arduino-Rokkit-Hash.git
30-
bblanchon/ArduinoJson @ ^6.20.0
30+
bblanchon/ArduinoJson @ ^6.20.1
3131
mathertel/OneButton @ ^2.0.3
32-
256dpi/MQTT @ ^2.5.0
32+
256dpi/MQTT @ ^2.5.1
3333
ricmoo/QRCode @ ^0.0.1
3434
build_flags_basic =
3535
-include "src/paxcounter.conf"

src/display.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ MY_FONT_LARGE: 16x32px = 8 chars / line @ 2 lines
3737
#include "globals.h"
3838
#include "display.h"
3939

40-
4140
static uint8_t plotbuf[PLOTBUFFERSIZE] = {0};
4241
uint8_t DisplayIsOn = 0;
4342
hw_timer_t *displayIRQ = NULL;
@@ -374,8 +373,8 @@ void dp_refresh(bool nextPage) {
374373
#ifdef HAS_BUTTON
375374
dp_clear();
376375
break;
377-
#else // skip this page
378-
DisplayPage++;
376+
#else // skip this page and start over
377+
DisplayPage = 0;
379378
break;
380379
#endif
381380
} // switch (page)

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ PMUIRQ <- GPIO <- PMU chip
7171
Application IRQs fired by software:
7272
TIMESYNC_IRQ <- setTimeSyncIRQ() <- Ticker.h
7373
CYCLIC_IRQ <- setCyclicIRQ() <- Ticker.h
74-
SENDCYCLE_IRQ <- setSendIRQ() <- xTimer or libpax callback
74+
SENDCYCLE_IRQ <- setSendIRQ() <- libpax callback
7575
BME_IRQ <- setBMEIRQ() <- Ticker.h
7676
7777
*/

src/senddata.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// Basic Config
22
#include "senddata.h"
33

4+
// void setSendIRQ(TimerHandle_t xTimer) {
5+
// xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits);
6+
//}
47

5-
void setSendIRQ(TimerHandle_t xTimer) {
6-
xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits);
7-
}
8+
// void setSendIRQ(void) { setSendIRQ(NULL); }
89

9-
void setSendIRQ(void) { setSendIRQ(NULL); }
10+
void setSendIRQ(void) { xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits); }
1011

1112
// put data to send in RTos Queues used for transmit over channels Lora and SPI
1213
void SendPayload(uint8_t port) {

0 commit comments

Comments
 (0)