cleanup IRAM_ATTR

This commit is contained in:
cyberman54 committed 2022-02-26 17:26:14 +01:00
1 parent 37568d1a06
commit 375764f87c
9 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -40,6 +40,6 @@
#undef ROKKIT_ENABLE_8BIT_OPTIMIZATIONS
#endif
uint32_t IRAM_ATTR myhash(const char *data, int len) {
uint32_t myhash(const char *data, int len) {
return rokkit(data, len);
}
+1 -1
View File
@@ -487,7 +487,7 @@ void rcmd_process(void *pvParameters) {
} // rcmd_process()
// enqueue remote command
void IRAM_ATTR rcommand(const uint8_t *cmd, const size_t cmdlength) {
void rcommand(const uint8_t *cmd, const size_t cmdlength) {
RcmdBuffer_t rcmd = {0};
+1 -1
View File
@@ -60,7 +60,7 @@ void calibrateTime(void) {
} // calibrateTime()
// set system time (UTC), calibrate RTC and RTC_INT pps
bool IRAM_ATTR setMyTime(uint32_t t_sec, uint16_t t_msec,
bool setMyTime(uint32_t t_sec, uint16_t t_msec,
timesource_t mytimesource) {
struct timeval tv = {0};
+2 -2
View File
@@ -55,7 +55,7 @@ void timesync_request(void) {
}
// task for processing time sync request
void IRAM_ATTR timesync_processReq(void *taskparameter) {
void timesync_processReq(void *taskparameter) {
uint32_t rcv_seqNo = TIME_SYNC_END_FLAG;
uint32_t time_offset_sec = 0, time_offset_ms = 0;
@@ -173,7 +173,7 @@ void timesync_store(uint32_t timestamp, timesync_t timestamp_type) {
}
// callback function to receive time answer from network or answer
void IRAM_ATTR timesync_serverAnswer(void *pUserData, int flag) {
void timesync_serverAnswer(void *pUserData, int flag) {
#if (HAS_LORA_TIME)