Home
last modified time | relevance | path

Searched refs:R502A_TEMPLATE_MAX_SIZE (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a.h129 #define R502A_TEMPLATE_MAX_SIZE (R502A_CHAR_BUF_TOTAL * R502A_TEMPLATE_SIZE) macro
Dgrow_r502a.c846 if (!temp->data || (temp->len < R502A_TEMPLATE_MAX_SIZE)) { in fps_upload_char_buf()
913 if (!temp->data || (temp->len < R502A_TEMPLATE_MAX_SIZE)) { in fps_download_char_buf()
944 while (i < (R502A_TEMPLATE_MAX_SIZE - CONFIG_R502A_DATA_PKT_SIZE)) { in fps_download_char_buf()
956 memcpy(tx_packet.data, &temp->data[i], (R502A_TEMPLATE_MAX_SIZE - i)); in fps_download_char_buf()
958 ret = transceive_packet(dev, &tx_packet, NULL, (R502A_TEMPLATE_MAX_SIZE - i)); in fps_download_char_buf()