Git Product home page Git Product logo

Comments (3)

hannobraun avatar hannobraun commented on June 2, 2024

Yes, that's definitely lpc-rs/lpc8xx-hal#298. I mean, I didn't try to break the build here specifically, but I knew this was a breaking change, so yes, it's on purpose :-)

Now that I'm looking at it again, this does expose some problems with that pull request though:

  1. There doesn't seem to be a way to convert Ticks to u32. There should definitely be an Into<u32> implementation, and maybe an inherent method that does the same (Ticks::value?).
  2. That Channel::value and Channel::reload_value return u32 and not Tick is questionable. That deserves another look.

I've made a note to look into this, but it's unlikely I'll get to it before January. Feel free to submit a pull request upstream.

from embedded-test-stand.

Lotterleben avatar Lotterleben commented on June 2, 2024

Okay, cool! I've added a similar quick fix to my codebase, should be convertible to a PR :) I'm wondering, would adding Into<Nanoseconds>, Into<Milliseconds>.. etc be useful too while we're at it?

from embedded-test-stand.

hannobraun avatar hannobraun commented on June 2, 2024

Okay, cool! I've added a similar quick fix to my codebase, should be convertible to a PR :) I'm wondering, would adding Into<Nanoseconds>, Into<Milliseconds>.. etc be useful too while we're at it?

Good idea, that sounds useful.

from embedded-test-stand.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.