diff options
| author | Daniel Campora | 2015-03-28 21:46:48 +0100 |
|---|---|---|
| committer | Daniel Campora | 2015-03-31 14:34:07 +0200 |
| commit | 3f42f32648b7dfb5ac9aa9fb12a546999219b3da (patch) | |
| tree | 08e02bf0a0391c2701eb8d437d5aa66c569467cf /cc3200/mods/pybpin.h | |
| parent | 344057ac5030d24ef9d754e04b47a3af85c33616 (diff) | |
cc3200: Remove duplicated code from moduos.
Error reporting is also changed from detailed to terse, as with the
rest of the CC3200's modules. All this combined saves ~200 bytes.
Diffstat (limited to 'cc3200/mods/pybpin.h')
| -rw-r--r-- | cc3200/mods/pybpin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc3200/mods/pybpin.h b/cc3200/mods/pybpin.h index d5a7d42da..417e91bf6 100644 --- a/cc3200/mods/pybpin.h +++ b/cc3200/mods/pybpin.h @@ -25,6 +25,9 @@ * THE SOFTWARE. */ +#ifndef PYBPIN_H_ +#define PYBPIN_H_ + // This file requires pin_defs_xxx.h (which has port specific enums and // defines, so we include it here. It should never be included directly @@ -73,3 +76,4 @@ uint32_t pin_get_mode(const pin_obj_t *self); uint32_t pin_get_type(const pin_obj_t *self); uint32_t pin_get_strenght(const pin_obj_t *self); +#endif // PYBPIN_H_ |
