[riot-notifications] [RIOT] drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor (#3755)

Peter Kietzmann notifications at github.com
Tue Sep 29 18:10:44 CEST 2015


> +    if(at30tse75x_set_config(dev, config) != 0) {
> +        return -1;
> +    }
> +
> +    return 0;
> +}
> +
> +int at30tse75x_set_mode(at30tse75x_t* dev, at30tse75x_mode_t mode)
> +{
> +    uint8_t config;
> +    if(at30tse75x_get_config(dev, &config) != 0) {
> +        return -1;
> +    }
> +
> +    switch(mode) {
> +    case AT30TSE75X_MODE_ONE_SHOT:

Honestly I don't even care either. Just wanted to make it look similar to other code. Are there other opinions?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3755/files#r40692413
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150929/291f4937/attachment.html>


More information about the notifications mailing list