\r
// memory management\r
uint8_t* get_bigbufptr_recvrespbuf(void) {\r
- return (((uint8_t *)BigBuf) + RECV_RESP_OFFSET); \r
+ return BigBuf_get_addr() + RECV_RESP_OFFSET; \r
}\r
uint8_t* get_bigbufptr_recvcmdbuf(void) {\r
- return (((uint8_t *)BigBuf) + RECV_CMD_OFFSET); \r
+ return BigBuf_get_addr() + RECV_CMD_OFFSET; \r
}\r
uint8_t* get_bigbufptr_emlcardmem(void) {\r
- return (((uint8_t *)BigBuf) + CARD_MEMORY_OFFSET);\r
+ return BigBuf_get_addr() + CARD_MEMORY_OFFSET;\r
}\r
\r
// crypto1 helpers\r
return 0;\r
}\r
return 1;\r
-}
\ No newline at end of file
+}