Skip to content

Commit 78f9a90

Browse files
committed
Made a few ancillary functions static.
1 parent c70bdcd commit 78f9a90

File tree

1 file changed

+4
-4
lines changed
  • firmware/nRF51/tag-proximity/src

1 file changed

+4
-4
lines changed

firmware/nRF51/tag-proximity/src/log.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static void flash_log_block_commit(void)
193193

194194
#if FLASH_LOG_COMPRESSION
195195

196-
void flash_log_write(uint8_t flush_buf)
196+
static void flash_log_write(uint8_t flush_buf)
197197
{
198198
uint8_t *my_head = buf_head;
199199
uint16_t chunk_size;
@@ -312,7 +312,7 @@ void flash_log_write(uint8_t flush_buf)
312312

313313
#else
314314

315-
void flash_log_write(uint8_t flush_buf)
315+
static void flash_log_write(uint8_t flush_buf)
316316
{
317317
uint8_t *my_head = buf_head;
318318
uint16_t chunk_size;
@@ -394,7 +394,7 @@ void flash_log_status(void)
394394
we obtain a binary log file named after the tag ID
395395
*/
396396

397-
char base64_char(uint8_t b)
397+
static char base64_char(uint8_t b)
398398
{
399399
if (b < 26)
400400
return 'A' + b;
@@ -412,7 +412,7 @@ char base64_char(uint8_t b)
412412

413413
#define CHARS_PER_LINE 64
414414

415-
void base64_dump(uint16_t len, uint8_t *data)
415+
static void base64_dump(uint16_t len, uint8_t *data)
416416
{
417417
uint16_t i, j, printed_chars = 1;
418418
char c[4];

0 commit comments

Comments
 (0)