Skip to content

Commit

Permalink
Aligh to serial_restart
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesCordell committed Jun 25, 2018
1 parent 41ee5e7 commit 5a37414
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/platform.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#ifndef PLATFORM_H_
#define PLATFORM_H_

#define FLIGHT_LOG_MAX_FRAME_LENGTH 256
#include <stdbool.h>

#define FLIGHT_LOG_MAX_FRAME_SERIAL_BUFFER_LENGTH 1024
#define FLIGHT_LOG_MAX_FRAME_LENGTH 256
#define FLIGHT_LOG_MAX_FRAME_HEADER_LENGTH 1024

#include <stdbool.h>

#if defined(__APPLE__)
//MacOS doesn't have POSIX unnamed semaphores. Grand Central Dispatch provides an alternative:
#include <dispatch/dispatch.h>
Expand Down
1 change: 0 additions & 1 deletion src/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include "platform.h"


typedef struct mmapStream_t {
fileMapping_t mapping;

Expand Down

0 comments on commit 5a37414

Please sign in to comment.