Skip to content

Commit

Permalink
Put TPMS decoders under a separated directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jan 15, 2023
1 parent b1ce345 commit 21a2ef4
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
6 changes: 0 additions & 6 deletions protocols/oregon2.txt

This file was deleted.

2 changes: 1 addition & 1 deletion protocols/citroen_tpms.c → protocols/tpms/citroen.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Then Manchester bits, 10 bytes total.
* Simple XOR checksum. */

#include "../app.h"
#include "../../app.h"

static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {

Expand Down
2 changes: 1 addition & 1 deletion protocols/ford_tpms.c → protocols/tpms/ford.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* 10 = one
*/

#include "../app.h"
#include "../../app.h"

static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {

Expand Down
2 changes: 1 addition & 1 deletion protocols/renault_tpms.c → protocols/tpms/renault.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Preamble + sync + Manchester bits. ~48us short pulse.
* 9 Bytes in total not counting the preamble. */

#include "../app.h"
#include "../../app.h"

#define USE_TEST_VECTOR 0
static const char *test_vector =
Expand Down
2 changes: 1 addition & 1 deletion protocols/schrader_tpms.c → protocols/tpms/schrader.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Used in FIAT-Chrysler, Mercedes, ... */

#include "../app.h"
#include "../../app.h"

#define USE_TEST_VECTOR 0
static const char *test_vector = "000000111101010101011010010110010110101001010110100110011001100101010101011010100110100110011010101010101010101010101010101010101010101010101010";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Used in certain Open cars and others.
*/

#include "../app.h"
#include "../../app.h"

static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {

Expand Down
2 changes: 1 addition & 1 deletion protocols/toyota_tpms.c → protocols/tpms/toyota.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* [0011111]01
*/

#include "../app.h"
#include "../../app.h"

static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {

Expand Down

0 comments on commit 21a2ef4

Please sign in to comment.