Skip to content

Commit

Permalink
I2C_ASYNCH warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotak committed Feb 28, 2020
1 parent 96792c5 commit 747d048
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UbxGpsI2C.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ SOFTWARE.
#ifndef UBXGPSI2C_H
#define UBXGPSI2C_H

#if !defined(DEVICE_I2C_ASYNCH)
#error "This library only supports I2C in async mode";
#endif

#include "mbed.h"

#include "mbed-trace/mbed_trace.h"
Expand Down

0 comments on commit 747d048

Please sign in to comment.