Add GH_TOKEN

This commit is contained in:
Corey Richardson 2015-07-21 08:07:36 -04:00
parent 519a61b937
commit 43e8f958e7
2 changed files with 6 additions and 1 deletions

View file

@ -13,3 +13,6 @@ script:
travis-cargo doc travis-cargo doc
after_success: after_success:
- travis-cargo --only beta doc-upload - travis-cargo --only beta doc-upload
env:
global:
- secure: rFkOMXHERQhTse4FnnAYDJXIJSGYvJ/YkkFGBjz25YEFUYmuW+ueCvErrpQPCySD+Kf5MeolN3M6qkvP6DUid+31BlBejuEQeDZtBu52IURZst3gSLkSkj7HwImlqNMx31JX47wEYDychaMcmyP9kNjiTfI8vCK+AJALl3H6foC+VTDL6CHAokWwOjAmDF79ysahRUXYknzKjDFkU2JF2k6Z0h1rerv531w+Jf1e3O78OVgY3nWiZAcZWfhYAxyZgwZ7zZeoksRqW9nTesJca28uQ0y/L/sn4EsfEuoU+xiDLg1PUH/JUkxxxAVEIWvCKSl8nHybbs9Z9VOJp/ZpdS2TqMCEY6151cbSS9cX/kLpPOHXa73LFJcp0klzrsdlCitJnddBU+Y1x8t7PpJUntiOiQ2TnJh7kh1MrDFgiFCd8PEyuY3jFisXR64sMH8lkYASyqNfNTlOcBvqgYC3WQYEy81hesS4e49mKwx3wBaJT2TdfT0LE8EumgFkLQ/vZkdH0xaqan43Oqh+WPVlcZ78Aq/QBd7xF4L319oWrsKE0V/m0ZRIoTvv8ogF3Wr03wSyhUtfOV7qjnBSUOa9GUKfioGFVGJbqsvAnavltz5Y4SE7dcmTwtyFFS9fQ66hEVYJlR3AGvFnbXOflU+GU8IZOfNVFXyEcnmyJ4p5drU=

View file

@ -899,7 +899,7 @@ impl Device {
time: time, time: time,
_type: ABSOLUTE.number(), _type: ABSOLUTE.number(),
code: idx as u16, code: idx as u16,
value: 0, // I think this is correct; code gets used as an index into abs_vals value: self.state.abs_vals[idx as usize],
}); });
} }
} }
@ -1033,3 +1033,5 @@ pub fn enumerate() -> Vec<Device> {
} }
res res
} }
#[cfg(test)] mod test { include!("tests.rs"); }