aprs by default, i2c-0 bus

aprs-rpitx-v4
alanbjohnston 6 years ago committed by GitHub
parent c3a88ff432
commit 41844043e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -232,7 +232,7 @@ char dest_addr[5] = "CQ";
int main(int argc, char *argv[]) {
mode = FSK;
mode = AFSK; // FSK; Default is AFSK, 3 frames
frameCnt = 3;
if (argc > 1) {
@ -314,10 +314,10 @@ int main(int argc, char *argv[]) {
sensor[PLUS_Y] = config_sensor("/dev/i2c-1", 0x41, 400);
sensor[BUS] = config_sensor("/dev/i2c-1", 0x44, 400);
sensor[BAT] = config_sensor("/dev/i2c-1", 0x45, 400);
sensor[PLUS_Z] = config_sensor("/dev/i2c-4", 0x40, 400);
sensor[MINUS_X] = config_sensor("/dev/i2c-4", 0x41, 400);
sensor[MINUS_Y] = config_sensor("/dev/i2c-4", 0x44, 400);
sensor[MINUS_Z] = config_sensor("/dev/i2c-4", 0x45, 400);
sensor[PLUS_Z] = config_sensor("/dev/i2c-0", 0x40, 400);
sensor[MINUS_X] = config_sensor("/dev/i2c-0", 0x41, 400);
sensor[MINUS_Y] = config_sensor("/dev/i2c-0", 0x44, 400);
sensor[MINUS_Z] = config_sensor("/dev/i2c-0", 0x45, 400);
int ret;
//uint8_t data[1024];

Loading…
Cancel
Save

Powered by TurnKey Linux.